Home
last modified time | relevance | path

Searched refs:old_fb (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/bochs/
Dbochs_kms.c34 struct drm_framebuffer *old_fb) in bochs_crtc_mode_set_base() argument
43 if (old_fb) { in bochs_crtc_mode_set_base()
44 bochs_fb = to_bochs_framebuffer(old_fb); in bochs_crtc_mode_set_base()
78 int x, int y, struct drm_framebuffer *old_fb) in bochs_crtc_mode_set() argument
84 bochs_crtc_mode_set_base(crtc, x, y, old_fb); in bochs_crtc_mode_set()
104 struct drm_framebuffer *old_fb = crtc->primary->fb; in bochs_crtc_page_flip() local
108 bochs_crtc_mode_set_base(crtc, 0, 0, old_fb); in bochs_crtc_page_flip()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_plane.c418 plane->old_fb = plane->fb; in drm_plane_force_disable()
422 plane->old_fb = NULL; in drm_plane_force_disable()
426 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable()
427 plane->old_fb = NULL; in drm_plane_force_disable()
656 plane->old_fb = plane->fb; in __setplane_internal()
662 plane->old_fb = NULL; in __setplane_internal()
673 plane->old_fb = plane->fb; in __setplane_internal()
682 plane->old_fb = NULL; in __setplane_internal()
686 if (plane->old_fb) in __setplane_internal()
687 drm_framebuffer_put(plane->old_fb); in __setplane_internal()
[all …]
Ddrm_plane_helper.c341 struct drm_framebuffer *old_fb) in drm_plane_helper_commit() argument
365 if (plane_funcs->prepare_fb && plane_state->fb != old_fb) { in drm_plane_helper_commit()
399 if (plane->state->fb == old_fb) in drm_plane_helper_commit()
509 struct drm_framebuffer *old_fb; in drm_plane_helper_disable() local
529 old_fb = plane_state->fb; in drm_plane_helper_disable()
532 return drm_plane_helper_commit(plane, plane_state, old_fb); in drm_plane_helper_disable()
Ddrm_crtc.c474 plane->old_fb = plane->fb; in __drm_mode_set_config_internal()
492 if (plane->old_fb) in __drm_mode_set_config_internal()
493 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal()
494 plane->old_fb = NULL; in __drm_mode_set_config_internal()
613 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local
616 old_fb = plane->state->fb; in drm_mode_setcrtc()
618 old_fb = plane->fb; in drm_mode_setcrtc()
620 if (!old_fb) { in drm_mode_setcrtc()
626 fb = old_fb; in drm_mode_setcrtc()
Ddrm_crtc_helper.c272 struct drm_framebuffer *old_fb) in drm_crtc_helper_set_mode() argument
375 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
1006 struct drm_framebuffer *old_fb) in drm_helper_crtc_mode_set() argument
1041 ret = drm_helper_crtc_mode_set_base(crtc, x, y, old_fb); in drm_helper_crtc_mode_set()
1070 struct drm_framebuffer *old_fb) in drm_helper_crtc_mode_set_base() argument
1098 return drm_plane_helper_commit(plane, plane_state, old_fb); in drm_helper_crtc_mode_set_base()
/Linux-v4.19/include/drm/
Ddrm_crtc_helper.h52 struct drm_framebuffer *old_fb);
62 struct drm_framebuffer *old_fb);
64 struct drm_framebuffer *old_fb);
Ddrm_modeset_helper_vtables.h206 struct drm_framebuffer *old_fb);
249 struct drm_framebuffer *old_fb);
Ddrm_plane_helper.h78 struct drm_framebuffer *old_fb);
Ddrm_plane.h609 struct drm_framebuffer *old_fb; member
/Linux-v4.19/drivers/gpu/drm/udl/
Dudl_modeset.c292 struct drm_framebuffer *old_fb)
302 struct drm_framebuffer *old_fb) in udl_crtc_mode_set() argument
337 if (old_fb) { in udl_crtc_mode_set()
338 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_mode_set()
370 struct drm_framebuffer *old_fb = crtc->primary->fb; in udl_crtc_page_flip() local
371 if (old_fb) { in udl_crtc_page_flip()
372 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_page_flip()
/Linux-v4.19/drivers/gpu/drm/imx/
Dipuv3-plane.c353 struct drm_framebuffer *old_fb = old_state->fb; in ipu_plane_atomic_check() local
405 if (old_fb && in ipu_plane_atomic_check()
408 fb->format != old_fb->format)) in ipu_plane_atomic_check()
419 if (old_fb && fb->pitches[0] != old_fb->pitches[0]) in ipu_plane_atomic_check()
442 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check()
459 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check()
468 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check()
494 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check()
/Linux-v4.19/drivers/staging/vboxvideo/
Dvbox_mode.c225 struct drm_framebuffer *old_fb, in vbox_crtc_do_set_base() argument
238 if (old_fb) { in vbox_crtc_do_set_base()
239 vbox_fb = to_vbox_framebuffer(old_fb); in vbox_crtc_do_set_base()
284 struct drm_framebuffer *old_fb) in vbox_crtc_mode_set_base() argument
286 return vbox_crtc_do_set_base(crtc, old_fb, CRTC_FB(crtc), x, y); in vbox_crtc_mode_set_base()
292 int x, int y, struct drm_framebuffer *old_fb) in vbox_crtc_mode_set() argument
297 vbox_crtc_mode_set_base(crtc, x, y, old_fb); in vbox_crtc_mode_set()
/Linux-v4.19/drivers/gpu/drm/cirrus/
Dcirrus_mode.c143 struct drm_framebuffer *old_fb) in cirrus_crtc_mode_set_base() argument
145 return cirrus_crtc_do_set_base(crtc, old_fb, x, y, 0); in cirrus_crtc_mode_set_base()
159 int x, int y, struct drm_framebuffer *old_fb) in cirrus_crtc_mode_set() argument
275 cirrus_crtc_do_set_base(crtc, old_fb, x, y, 0); in cirrus_crtc_mode_set()
/Linux-v4.19/drivers/gpu/drm/tve200/
Dtve200_display.c77 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in tve200_display_check() local
115 if (old_fb && old_fb->format != fb->format) in tve200_display_check()
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_crtc.c823 struct drm_framebuffer *old_fb; member
860 if (flip_state->old_fb) { in vc4_async_page_flip_complete()
864 cma_bo = drm_fb_cma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_complete()
867 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete()
933 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip()
934 if (flip_state->old_fb) in vc4_async_page_flip()
935 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip()
/Linux-v4.19/drivers/gpu/drm/gma500/
Doaktrail_crtc.c368 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument
390 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
488 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
597 int x, int y, struct drm_framebuffer *old_fb) in oaktrail_pipe_set_base() argument
Dpsb_intel_display.c106 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument
125 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
300 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
Dgma_display.h68 struct drm_framebuffer *old_fb);
Dmdfld_intel_display.c164 struct drm_framebuffer *old_fb) in mdfld__intel_pipe_set_base() argument
669 struct drm_framebuffer *old_fb) in mdfld_crtc_mode_set() argument
698 x, y, old_fb); in mdfld_crtc_mode_set()
850 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
Doaktrail.h254 struct drm_framebuffer *old_fb);
Dgma_display.c57 struct drm_framebuffer *old_fb) in gma_pipe_set_base() argument
133 if (old_fb) in gma_pipe_set_base()
134 psb_gtt_unpin(to_gtt_range(old_fb->obj[0])); in gma_pipe_set_base()
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c49 struct drm_framebuffer *old_fb);
605 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs() argument
633 int x, int y, struct drm_framebuffer *old_fb) in nv_crtc_mode_set() argument
643 ret = nv_crtc_swap_fbs(crtc, old_fb); in nv_crtc_mode_set()
898 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument
900 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base()
903 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base()
/Linux-v4.19/drivers/gpu/drm/pl111/
Dpl111_display.c93 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in pl111_display_check() local
115 if (old_fb && old_fb->format != fb->format) in pl111_display_check()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c358 struct drm_framebuffer *old_fb) in radeon_crtc_set_base() argument
360 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in radeon_crtc_set_base()
1035 int x, int y, struct drm_framebuffer *old_fb) in radeon_crtc_mode_set() argument
1040 radeon_crtc_set_base(crtc, x, y, old_fb); in radeon_crtc_mode_set()
Dradeon_mode.h847 struct drm_framebuffer *old_fb);
856 struct drm_framebuffer *old_fb);
860 struct drm_framebuffer *old_fb);

12