/drivers/gpu/drm/ |
D | drm_plane.c | 440 plane->old_fb = plane->fb; in drm_plane_force_disable() 444 plane->old_fb = NULL; in drm_plane_force_disable() 448 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable() 449 plane->old_fb = NULL; in drm_plane_force_disable() 699 plane->old_fb = plane->fb; in __setplane_internal() 705 plane->old_fb = NULL; in __setplane_internal() 716 plane->old_fb = plane->fb; in __setplane_internal() 725 plane->old_fb = NULL; in __setplane_internal() 729 if (plane->old_fb) in __setplane_internal() 730 drm_framebuffer_put(plane->old_fb); in __setplane_internal() [all …]
|
D | drm_crtc.c | 463 plane->old_fb = plane->fb; in __drm_mode_set_config_internal() 481 if (plane->old_fb) in __drm_mode_set_config_internal() 482 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal() 483 plane->old_fb = NULL; in __drm_mode_set_config_internal() 597 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local 600 old_fb = plane->state->fb; in drm_mode_setcrtc() 602 old_fb = plane->fb; in drm_mode_setcrtc() 604 if (!old_fb) { in drm_mode_setcrtc() 610 fb = old_fb; in drm_mode_setcrtc()
|
D | drm_crtc_helper.c | 274 struct drm_framebuffer *old_fb) in drm_crtc_helper_set_mode() argument 368 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
|
/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 353 struct drm_framebuffer *old_fb = old_state->fb; in ipu_plane_atomic_check() local 404 if (old_fb && in ipu_plane_atomic_check() 407 fb->format != old_fb->format)) in ipu_plane_atomic_check() 418 if (old_fb && fb->pitches[0] != old_fb->pitches[0]) in ipu_plane_atomic_check() 441 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 458 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 467 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check() 491 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check()
|
/drivers/gpu/drm/tiny/ |
D | gm12u320.c | 415 struct drm_framebuffer *old_fb = NULL; in gm12u320_fb_mark_dirty() local 421 old_fb = gm12u320->fb_update.fb; in gm12u320_fb_mark_dirty() 440 if (old_fb) in gm12u320_fb_mark_dirty() 441 drm_framebuffer_put(old_fb); in gm12u320_fb_mark_dirty() 446 struct drm_framebuffer *old_fb; in gm12u320_stop_fb_update() local 451 old_fb = gm12u320->fb_update.fb; in gm12u320_stop_fb_update() 455 drm_framebuffer_put(old_fb); in gm12u320_stop_fb_update()
|
/drivers/gpu/drm/gma500/ |
D | gma_display.c | 51 struct drm_framebuffer *old_fb) in gma_pipe_set_base() argument 127 if (old_fb) in gma_pipe_set_base() 128 psb_gtt_unpin(to_gtt_range(old_fb->obj[0])); in gma_pipe_set_base() 514 struct drm_framebuffer *old_fb = crtc->primary->old_fb; in gma_crtc_page_flip() local 535 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip() 545 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
|
D | oaktrail_crtc.c | 360 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument 382 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set() 480 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set() 589 int x, int y, struct drm_framebuffer *old_fb) in oaktrail_pipe_set_base() argument
|
D | psb_intel_display.c | 95 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument 114 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set() 289 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
|
D | gma_display.h | 60 struct drm_framebuffer *old_fb);
|
D | oaktrail.h | 244 struct drm_framebuffer *old_fb);
|
D | mdfld_intel_display.c | 134 struct drm_framebuffer *old_fb) in mdfld__intel_pipe_set_base() argument 637 struct drm_framebuffer *old_fb) in mdfld_crtc_mode_set() argument 808 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
|
D | oaktrail_hdmi.c | 264 struct drm_framebuffer *old_fb) in oaktrail_crtc_hdmi_mode_set() argument 352 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
|
/drivers/gpu/drm/tve200/ |
D | tve200_display.c | 76 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in tve200_display_check() local 114 if (old_fb && old_fb->format != fb->format) in tve200_display_check()
|
/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 696 struct drm_framebuffer *old_fb; member 733 if (flip_state->old_fb) { in vc4_async_page_flip_complete() 737 cma_bo = drm_fb_cma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_complete() 740 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete() 806 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip() 807 if (flip_state->old_fb) in vc4_async_page_flip() 808 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | crtc.c | 54 struct drm_framebuffer *old_fb); 610 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs() argument 639 int x, int y, struct drm_framebuffer *old_fb) in nv_crtc_mode_set() argument 649 ret = nv_crtc_swap_fbs(crtc, old_fb); in nv_crtc_mode_set() 904 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument 906 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base() 909 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base() 1152 struct drm_framebuffer *old_fb = crtc->primary->fb; in nv04_crtc_page_flip() local 1153 struct nouveau_bo *old_bo = nouveau_gem_object(old_fb->obj[0]); in nv04_crtc_page_flip()
|
/drivers/gpu/drm/imx/dcss/ |
D | dcss-plane.c | 249 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() local 259 fb->format->format != old_fb->format->format || in dcss_plane_needs_setup() 260 fb->modifier != old_fb->modifier || in dcss_plane_needs_setup()
|
/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 89 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in pl111_display_check() local 111 if (old_fb && old_fb->format != fb->format) in pl111_display_check()
|
/drivers/gpu/drm/radeon/ |
D | radeon_legacy_crtc.c | 361 struct drm_framebuffer *old_fb) in radeon_crtc_set_base() argument 363 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in radeon_crtc_set_base() 1038 int x, int y, struct drm_framebuffer *old_fb) in radeon_crtc_mode_set() argument 1043 radeon_crtc_set_base(crtc, x, y, old_fb); in radeon_crtc_mode_set()
|
D | radeon_mode.h | 846 struct drm_framebuffer *old_fb); 855 struct drm_framebuffer *old_fb); 859 struct drm_framebuffer *old_fb);
|
D | atombios_crtc.c | 1675 struct drm_framebuffer *old_fb) in atombios_crtc_set_base() argument 1681 return dce4_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 1683 return avivo_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 1685 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 2055 int x, int y, struct drm_framebuffer *old_fb) in atombios_crtc_mode_set() argument 2086 atombios_crtc_set_base(crtc, x, y, old_fb); in atombios_crtc_mode_set()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | dce_virtual.c | 191 int x, int y, struct drm_framebuffer *old_fb) in dce_virtual_crtc_mode_set() argument 210 struct drm_framebuffer *old_fb) in dce_virtual_crtc_set_base() argument
|
/drivers/gpu/drm/mcde/ |
D | mcde_display.c | 156 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in mcde_display_check() local 181 if (old_fb && old_fb->format != fb->format) in mcde_display_check()
|
/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 348 struct drm_framebuffer *old_fb) in shmob_drm_crtc_mode_set() argument 375 struct drm_framebuffer *old_fb) in shmob_drm_crtc_mode_set_base() argument
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1067 struct drm_framebuffer *old_fb = plane->state->fb; in vop_plane_atomic_async_update() local 1093 if (old_fb && plane->state->fb != old_fb) { in vop_plane_atomic_async_update() 1094 drm_framebuffer_get(old_fb); in vop_plane_atomic_async_update() 1096 drm_flip_work_queue(&vop->fb_unref_work, old_fb); in vop_plane_atomic_async_update()
|
/drivers/gpu/drm/ast/ |
D | ast_mode.c | 576 struct drm_framebuffer *old_fb = old_state->fb; in ast_primary_plane_helper_atomic_update() local 578 if (!old_fb || (fb->format != old_fb->format)) { in ast_primary_plane_helper_atomic_update()
|