Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/
Ddrm_plane.c602 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 …]
Ddrm_crtc.c544 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()
Ddrm_crtc_helper.c274 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/
Dipuv3-plane.c381 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/
Dgm12u320.c402 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/
Dgud_pipe.c418 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/
Dgma_display.c51 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()
Doaktrail_crtc.c360 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
Dpsb_intel_display.c95 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()
Dgma_display.h60 struct drm_framebuffer *old_fb);
Doaktrail.h244 struct drm_framebuffer *old_fb);
Doaktrail_hdmi.c264 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()
Dcdv_intel_display.c574 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/
Dtve200_display.c75 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/
Dvc4_crtc.c764 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/
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
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/
Ddcss-plane.c250 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/
Dpl111_display.c88 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/
Dradeon_legacy_crtc.c361 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()
Dradeon_mode.h846 struct drm_framebuffer *old_fb);
855 struct drm_framebuffer *old_fb);
859 struct drm_framebuffer *old_fb);
Datombios_crtc.c1673 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/
Dshmob_drm_crtc.c348 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/
Dmcde_display.c163 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/
Drockchip_drm_vop.c1081 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/
Dast_mode.c588 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()

12