| /linux/drivers/gpu/drm/ |
| H A D | drm_plane.c | 758 plane->old_fb = plane->fb; in drm_plane_force_disable() 762 plane->old_fb = NULL; in drm_plane_force_disable() 766 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable() 767 plane->old_fb = NULL; in drm_plane_force_disable() 1034 plane->old_fb = plane->fb; in __setplane_internal() 1040 plane->old_fb = NULL; in __setplane_internal() 1051 plane->old_fb = plane->fb; in __setplane_internal() 1060 plane->old_fb = NULL; in __setplane_internal() 1064 if (plane->old_fb) in __setplane_internal() 1065 drm_framebuffer_put(plane->old_fb); in __setplane_internal() [all …]
|
| H A D | drm_crtc.c | 622 plane->old_fb = plane->fb; in __drm_mode_set_config_internal() 640 if (plane->old_fb) in __drm_mode_set_config_internal() 641 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal() 642 plane->old_fb = NULL; in __drm_mode_set_config_internal() 756 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local 759 old_fb = plane->state->fb; in drm_mode_setcrtc() 761 old_fb = plane->fb; in drm_mode_setcrtc() 763 if (!old_fb) { in drm_mode_setcrtc() 769 fb = old_fb; in drm_mode_setcrtc()
|
| H A D | drm_crtc_helper.c | 286 struct drm_framebuffer *old_fb) in drm_crtc_helper_set_mode() argument 381 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
|
| /linux/drivers/gpu/drm/imx/ipuv3/ |
| H A D | ipuv3-plane.c | 377 struct drm_framebuffer *old_fb = old_state->fb; in ipu_plane_atomic_check() local 428 if (old_fb && in ipu_plane_atomic_check() 431 fb->format != old_fb->format)) in ipu_plane_atomic_check() 442 if (old_fb && fb->pitches[0] != old_fb->pitches[0]) in ipu_plane_atomic_check() 471 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 488 if (old_fb && (fb->format == old_fb->format)) { in ipu_plane_atomic_check() 497 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check() 521 if (old_fb && old_fb->pitches[1] != fb->pitches[1]) in ipu_plane_atomic_check()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 397 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() local 415 old_fb = gdrm->fb; in gud_fb_queue_damage() 429 if (old_fb) in gud_fb_queue_damage() 430 drm_framebuffer_put(old_fb); in gud_fb_queue_damage() 462 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_plane_atomic_check() local 491 if (old_fb && old_fb->format != format) in gud_plane_atomic_check()
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | gma_display.c | 59 struct drm_framebuffer *old_fb) in gma_pipe_set_base() argument 135 if (old_fb) in gma_pipe_set_base() 136 psb_gem_unpin(to_psb_gem_object(old_fb->obj[0])); in gma_pipe_set_base() 519 struct drm_framebuffer *old_fb = crtc->primary->old_fb; in gma_crtc_page_flip() local 540 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip() 550 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
|
| H A D | psb_intel_display.c | 98 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument 117 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set() 296 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
|
| H A D | gma_display.h | 60 struct drm_framebuffer *old_fb);
|
| H A D | oaktrail.h | 244 struct drm_framebuffer *old_fb);
|
| H A D | oaktrail_hdmi.c | 268 struct drm_framebuffer *old_fb) in oaktrail_crtc_hdmi_mode_set() argument 356 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
|
| H A D | cdv_intel_display.c | 576 struct drm_framebuffer *old_fb) in cdv_intel_crtc_mode_set() argument 815 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in cdv_intel_crtc_mode_set()
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_crtc.c | 885 struct drm_framebuffer *old_fb; member 912 if (flip_state->old_fb) in vc4_async_page_flip_complete() 913 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete() 925 if (flip_state->old_fb) { in vc4_async_page_flip_complete_with_cleanup() 927 drm_fb_dma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_complete_with_cleanup() 1017 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip_common() 1018 if (flip_state->old_fb) in vc4_async_page_flip_common() 1019 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip_common()
|
| /linux/include/drm/ |
| H A D | drm_crtc_helper.h | 54 struct drm_framebuffer *old_fb);
|
| H A D | drm_plane.h | 715 struct drm_framebuffer *old_fb; member
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A 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 645 int x, int y, struct drm_framebuffer *old_fb) in nv_crtc_mode_set() argument 655 ret = nv_crtc_swap_fbs(crtc, old_fb); in nv_crtc_mode_set() 911 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument 913 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base() 916 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y); in nv04_crtc_mode_set_base() 1143 struct drm_framebuffer *old_fb = crtc->primary->fb; in nv04_crtc_page_flip() local 1144 struct nouveau_bo *old_bo = nouveau_gem_object(old_fb->obj[0]); in nv04_crtc_page_flip()
|
| /linux/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-plane.c | 253 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() local 263 fb->format->format != old_fb->format->format || in dcss_plane_needs_setup() 264 fb->modifier != old_fb->modifier || in dcss_plane_needs_setup()
|
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_mode.c | 552 struct drm_framebuffer *old_fb = old_plane_state->fb; in ast_primary_plane_helper_atomic_update() local 559 if (!old_fb || (fb->format != old_fb->format) || crtc_state->mode_changed) { in ast_primary_plane_helper_atomic_update() 583 if (!old_fb || old_fb->pitches[0] != fb->pitches[0]) in ast_primary_plane_helper_atomic_update()
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_vop.c | 1113 struct drm_framebuffer *old_fb = plane->state->fb; in vop_plane_atomic_async_update() local 1139 if (old_fb && plane->state->fb != old_fb) { in vop_plane_atomic_async_update() 1140 drm_framebuffer_get(old_fb); in vop_plane_atomic_async_update() 1142 drm_flip_work_queue(&vop->fb_unref_work, old_fb); in vop_plane_atomic_async_update()
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_plane.c | 424 struct drm_framebuffer *old_fb = plane->state->fb; in mdp5_plane_atomic_async_update() local 449 new_state->fb = old_fb; in mdp5_plane_atomic_async_update()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_fbc.c | 1773 const struct drm_framebuffer *old_fb = old_plane_state->hw.fb; in intel_fbc_can_flip_nuke() local 1783 if (old_fb->format->format != new_fb->format->format) in intel_fbc_can_flip_nuke() 1786 if (old_fb->modifier != new_fb->modifier) in intel_fbc_can_flip_nuke()
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_kms.c | 112 struct drm_framebuffer *old_fb = old_state->fb; in vmw_du_primary_plane_atomic_check() local 120 if (old_fb != new_fb) in vmw_du_primary_plane_atomic_check()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | dce_v8_0.c | 2526 int x, int y, struct drm_framebuffer *old_fb) in dce_v8_0_crtc_mode_set() argument 2535 dce_v8_0_crtc_do_set_base(crtc, old_fb, x, y); in dce_v8_0_crtc_mode_set() 2581 struct drm_framebuffer *old_fb) in dce_v8_0_crtc_set_base() argument 2583 return dce_v8_0_crtc_do_set_base(crtc, old_fb, x, y); in dce_v8_0_crtc_set_base()
|
| H A D | dce_v6_0.c | 2567 int x, int y, struct drm_framebuffer *old_fb) in dce_v6_0_crtc_mode_set() argument 2576 dce_v6_0_crtc_do_set_base(crtc, old_fb, x, y); in dce_v6_0_crtc_mode_set() 2622 struct drm_framebuffer *old_fb) in dce_v6_0_crtc_set_base() argument 2624 return dce_v6_0_crtc_do_set_base(crtc, old_fb, x, y); in dce_v6_0_crtc_set_base()
|
| /linux/drivers/video/fbdev/ |
| H A D | smscufx.c | 1271 unsigned char *old_fb = info->screen_buffer; in ufx_realloc_framebuffer() local 1287 memcpy(new_fb, old_fb, old_len); in ufx_realloc_framebuffer()
|
| H A D | udlfb.c | 1181 const void *old_fb = info->screen_buffer; in dlfb_realloc_framebuffer() local 1199 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()
|