Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/
H A Ddrm_plane.c758 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 Ddrm_crtc.c622 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 Ddrm_crtc_helper.c286 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 Dipuv3-plane.c377 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 Dgud_pipe.c397 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 Dgma_display.c59 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 Dpsb_intel_display.c98 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 Dgma_display.h60 struct drm_framebuffer *old_fb);
H A Doaktrail.h244 struct drm_framebuffer *old_fb);
H A Doaktrail_hdmi.c268 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 Dcdv_intel_display.c576 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 Dvc4_crtc.c885 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 Ddrm_crtc_helper.h54 struct drm_framebuffer *old_fb);
H A Ddrm_plane.h715 struct drm_framebuffer *old_fb; member
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c54 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 Ddcss-plane.c253 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 Dast_mode.c552 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 Drockchip_drm_vop.c1113 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 Dmdp5_plane.c424 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 Dintel_fbc.c1773 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 Dvmwgfx_kms.c112 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 Ddce_v8_0.c2526 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 Ddce_v6_0.c2567 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 Dsmscufx.c1271 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 Dudlfb.c1181 const void *old_fb = info->screen_buffer; in dlfb_realloc_framebuffer() local
1199 memcpy(new_fb, old_fb, old_len); in dlfb_realloc_framebuffer()

12