Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/
Ddrm_plane.c440 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 …]
Ddrm_crtc.c463 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()
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.c353 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/
Dgm12u320.c415 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/
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);
Dmdfld_intel_display.c134 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()
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()
/drivers/gpu/drm/tve200/
Dtve200_display.c76 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/
Dvc4_crtc.c696 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/
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.c249 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/
Dpl111_display.c89 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/
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.c1675 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/
Ddce_virtual.c191 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/
Dmcde_display.c156 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/
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/rockchip/
Drockchip_drm_vop.c1067 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/
Dast_mode.c576 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()

12