Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/gpu/drm/
Ddrm_plane.c430 plane->old_fb = plane->fb; in drm_plane_force_disable()
434 plane->old_fb = NULL; in drm_plane_force_disable()
438 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable()
439 plane->old_fb = NULL; in drm_plane_force_disable()
689 plane->old_fb = plane->fb; in __setplane_internal()
695 plane->old_fb = NULL; in __setplane_internal()
706 plane->old_fb = plane->fb; in __setplane_internal()
715 plane->old_fb = NULL; in __setplane_internal()
719 if (plane->old_fb) in __setplane_internal()
720 drm_framebuffer_put(plane->old_fb); in __setplane_internal()
[all …]
Ddrm_crtc.c436 plane->old_fb = plane->fb; in __drm_mode_set_config_internal()
454 if (plane->old_fb) in __drm_mode_set_config_internal()
455 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal()
456 plane->old_fb = NULL; in __drm_mode_set_config_internal()
572 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local
575 old_fb = plane->state->fb; in drm_mode_setcrtc()
577 old_fb = plane->fb; in drm_mode_setcrtc()
579 if (!old_fb) { in drm_mode_setcrtc()
585 fb = old_fb; in drm_mode_setcrtc()
/Linux-v5.4/drivers/gpu/drm/udl/
Dudl_modeset.c290 struct drm_framebuffer *old_fb)
300 struct drm_framebuffer *old_fb) in udl_crtc_mode_set() argument
335 if (old_fb) { in udl_crtc_mode_set()
336 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_mode_set()
368 struct drm_framebuffer *old_fb = crtc->primary->fb; in udl_crtc_page_flip() local
369 if (old_fb) { in udl_crtc_page_flip()
370 struct udl_framebuffer *uold_fb = to_udl_fb(old_fb); in udl_crtc_page_flip()
/Linux-v5.4/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()
/Linux-v5.4/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()
/Linux-v5.4/include/drm/
Ddrm_modeset_helper_vtables.h208 struct drm_framebuffer *old_fb);
251 struct drm_framebuffer *old_fb);
Ddrm_crtc_helper.h52 struct drm_framebuffer *old_fb);
Ddrm_plane.h630 struct drm_framebuffer *old_fb; member
/Linux-v5.4/drivers/gpu/drm/vc4/
Dvc4_crtc.c834 struct drm_framebuffer *old_fb; member
871 if (flip_state->old_fb) { in vc4_async_page_flip_complete()
875 cma_bo = drm_fb_cma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_complete()
878 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete()
944 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip()
945 if (flip_state->old_fb) in vc4_async_page_flip()
946 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip()
/Linux-v5.4/drivers/gpu/drm/gma500/
Doaktrail_crtc.c358 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument
380 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
478 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
587 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.h59 struct drm_framebuffer *old_fb);
Dmdfld_intel_display.c155 struct drm_framebuffer *old_fb) in mdfld__intel_pipe_set_base() argument
660 struct drm_framebuffer *old_fb) in mdfld_crtc_mode_set() argument
689 x, y, old_fb); in mdfld_crtc_mode_set()
841 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in mdfld_crtc_mode_set()
Doaktrail.h244 struct drm_framebuffer *old_fb);
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()
/Linux-v5.4/drivers/gpu/drm/tiny/
Dgm12u320.c433 struct drm_framebuffer *old_fb = NULL; in gm12u320_fb_mark_dirty() local
439 old_fb = gm12u320->fb_update.fb; in gm12u320_fb_mark_dirty()
458 if (old_fb) in gm12u320_fb_mark_dirty()
459 drm_framebuffer_put(old_fb); in gm12u320_fb_mark_dirty()
/Linux-v5.4/drivers/gpu/drm/pl111/
Dpl111_display.c90 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in pl111_display_check() local
112 if (old_fb && old_fb->format != fb->format) in pl111_display_check()
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c49 struct drm_framebuffer *old_fb);
605 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs() argument
633 int x, int y, struct drm_framebuffer *old_fb) in nv_crtc_mode_set() argument
643 ret = nv_crtc_swap_fbs(crtc, old_fb); in nv_crtc_mode_set()
898 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument
900 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base()
903 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base()
/Linux-v5.4/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.h847 struct drm_framebuffer *old_fb);
856 struct drm_framebuffer *old_fb);
860 struct drm_framebuffer *old_fb);
/Linux-v5.4/drivers/gpu/drm/mcde/
Dmcde_display.c155 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in mcde_display_check() local
180 if (old_fb && old_fb->format != fb->format) in mcde_display_check()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Ddce_virtual.c181 int x, int y, struct drm_framebuffer *old_fb) in dce_virtual_crtc_mode_set() argument
200 struct drm_framebuffer *old_fb) in dce_virtual_crtc_set_base() argument
/Linux-v5.4/drivers/gpu/drm/ast/
Dast_mode.c563 struct drm_framebuffer *old_fb) in ast_crtc_mode_set_base() argument
565 return ast_crtc_do_set_base(crtc, old_fb, x, y, 0); in ast_crtc_mode_set_base()
572 struct drm_framebuffer *old_fb) in ast_crtc_mode_set() argument
598 ast_crtc_mode_set_base(crtc, x, y, old_fb); in ast_crtc_mode_set()
/Linux-v5.4/drivers/gpu/drm/mgag200/
Dmgag200_mode.c893 struct drm_framebuffer *old_fb) in mga_crtc_mode_set_base() argument
895 return mga_crtc_do_set_base(crtc, old_fb, x, y, 0); in mga_crtc_mode_set_base()
901 int x, int y, struct drm_framebuffer *old_fb) in mga_crtc_mode_set() argument
1140 mga_crtc_do_set_base(crtc, old_fb, x, y, 0); in mga_crtc_mode_set()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c952 struct drm_framebuffer *old_fb = plane->state->fb; in vop_plane_atomic_async_update() local
978 if (old_fb && plane->state->fb != old_fb) { in vop_plane_atomic_async_update()
979 drm_framebuffer_get(old_fb); in vop_plane_atomic_async_update()
981 drm_flip_work_queue(&vop->fb_unref_work, old_fb); in vop_plane_atomic_async_update()

12