/drivers/gpu/drm/ |
D | drm_plane.c | 602 plane->old_fb = plane->fb; in drm_plane_force_disable() 606 plane->old_fb = NULL; in drm_plane_force_disable() 610 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable() 611 plane->old_fb = NULL; in drm_plane_force_disable() 857 plane->old_fb = plane->fb; in __setplane_internal() 863 plane->old_fb = NULL; in __setplane_internal() 874 plane->old_fb = plane->fb; in __setplane_internal() 883 plane->old_fb = NULL; in __setplane_internal() 887 if (plane->old_fb) in __setplane_internal() 888 drm_framebuffer_put(plane->old_fb); in __setplane_internal() [all …]
|
D | drm_crtc.c | 544 plane->old_fb = plane->fb; in __drm_mode_set_config_internal() 562 if (plane->old_fb) in __drm_mode_set_config_internal() 563 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal() 564 plane->old_fb = NULL; in __drm_mode_set_config_internal() 678 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local 681 old_fb = plane->state->fb; in drm_mode_setcrtc() 683 old_fb = plane->fb; in drm_mode_setcrtc() 685 if (!old_fb) { in drm_mode_setcrtc() 691 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 | 381 struct drm_framebuffer *old_fb = old_state->fb; in ipu_plane_atomic_check() local 433 if (old_fb && in ipu_plane_atomic_check() 436 fb->format != old_fb->format)) in ipu_plane_atomic_check() 447 if (old_fb && fb->pitches[0] != old_fb->pitches[0]) in ipu_plane_atomic_check() 476 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 493 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 502 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check() 526 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check()
|
/drivers/gpu/drm/tiny/ |
D | gm12u320.c | 402 struct drm_framebuffer *old_fb = NULL; in gm12u320_fb_mark_dirty() local 408 old_fb = gm12u320->fb_update.fb; in gm12u320_fb_mark_dirty() 428 if (old_fb) in gm12u320_fb_mark_dirty() 429 drm_framebuffer_put(old_fb); in gm12u320_fb_mark_dirty() 434 struct drm_framebuffer *old_fb; in gm12u320_stop_fb_update() local 439 old_fb = gm12u320->fb_update.fb; in gm12u320_stop_fb_update() 444 drm_framebuffer_put(old_fb); in gm12u320_stop_fb_update()
|
/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 418 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() local 423 old_fb = gdrm->fb; in gud_fb_queue_damage() 434 if (old_fb) in gud_fb_queue_damage() 435 drm_framebuffer_put(old_fb); in gud_fb_queue_damage() 446 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() local 462 if (old_fb && old_fb->format != format) in gud_pipe_check()
|
/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 | 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()
|
D | cdv_intel_display.c | 574 struct drm_framebuffer *old_fb) in cdv_intel_crtc_mode_set() argument 808 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
|
/drivers/gpu/drm/tve200/ |
D | tve200_display.c | 75 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in tve200_display_check() local 113 if (old_fb && old_fb->format != fb->format) in tve200_display_check()
|
/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 764 struct drm_framebuffer *old_fb; member 800 if (flip_state->old_fb) { in vc4_async_page_flip_complete() 804 cma_bo = drm_fb_cma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_complete() 807 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete() 861 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip() 862 if (flip_state->old_fb) in vc4_async_page_flip() 863 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 | 250 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() local 260 fb->format->format != old_fb->format->format || in dcss_plane_needs_setup() 261 fb->modifier != old_fb->modifier || in dcss_plane_needs_setup()
|
/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 88 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in pl111_display_check() local 110 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 | 1673 struct drm_framebuffer *old_fb) in atombios_crtc_set_base() argument 1679 return dce4_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 1681 return avivo_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 1683 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base() 2052 int x, int y, struct drm_framebuffer *old_fb) in atombios_crtc_mode_set() argument 2083 atombios_crtc_set_base(crtc, x, y, old_fb); in atombios_crtc_mode_set()
|
/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/mcde/ |
D | mcde_display.c | 163 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in mcde_display_check() local 188 if (old_fb && old_fb->format != fb->format) in mcde_display_check()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 1081 struct drm_framebuffer *old_fb = plane->state->fb; in vop_plane_atomic_async_update() local 1107 if (old_fb && plane->state->fb != old_fb) { in vop_plane_atomic_async_update() 1108 drm_framebuffer_get(old_fb); in vop_plane_atomic_async_update() 1110 drm_flip_work_queue(&vop->fb_unref_work, old_fb); in vop_plane_atomic_async_update()
|
/drivers/gpu/drm/ast/ |
D | ast_mode.c | 588 struct drm_framebuffer *old_fb = old_state->fb; in ast_primary_plane_helper_atomic_update() local 590 if (!old_fb || (fb->format != old_fb->format)) { in ast_primary_plane_helper_atomic_update()
|