Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/gpu/drm/
Ddrm_plane.c606 plane->old_fb = plane->fb; in drm_plane_force_disable()
610 plane->old_fb = NULL; in drm_plane_force_disable()
614 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable()
615 plane->old_fb = NULL; in drm_plane_force_disable()
861 plane->old_fb = plane->fb; in __setplane_internal()
867 plane->old_fb = NULL; in __setplane_internal()
878 plane->old_fb = plane->fb; in __setplane_internal()
887 plane->old_fb = NULL; in __setplane_internal()
891 if (plane->old_fb) in __setplane_internal()
892 drm_framebuffer_put(plane->old_fb); in __setplane_internal()
[all …]
Ddrm_crtc.c616 plane->old_fb = plane->fb; in __drm_mode_set_config_internal()
634 if (plane->old_fb) in __drm_mode_set_config_internal()
635 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal()
636 plane->old_fb = NULL; in __drm_mode_set_config_internal()
751 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local
754 old_fb = plane->state->fb; in drm_mode_setcrtc()
756 old_fb = plane->fb; in drm_mode_setcrtc()
758 if (!old_fb) { in drm_mode_setcrtc()
764 fb = old_fb; in drm_mode_setcrtc()
Ddrm_crtc_helper.c287 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-v6.1/drivers/gpu/drm/imx/
Dipuv3-plane.c376 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-v6.1/drivers/gpu/drm/gud/
Dgud_pipe.c432 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() local
437 old_fb = gdrm->fb; in gud_fb_queue_damage()
448 if (old_fb) in gud_fb_queue_damage()
449 drm_framebuffer_put(old_fb); in gud_fb_queue_damage()
460 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() local
476 if (old_fb && old_fb->format != format) in gud_pipe_check()
/Linux-v6.1/drivers/gpu/drm/tiny/
Dgm12u320.c405 struct drm_framebuffer *old_fb = NULL; in gm12u320_fb_mark_dirty() local
411 old_fb = gm12u320->fb_update.fb; in gm12u320_fb_mark_dirty()
431 if (old_fb) in gm12u320_fb_mark_dirty()
432 drm_framebuffer_put(old_fb); in gm12u320_fb_mark_dirty()
437 struct drm_framebuffer *old_fb; in gm12u320_stop_fb_update() local
442 old_fb = gm12u320->fb_update.fb; in gm12u320_stop_fb_update()
447 drm_framebuffer_put(old_fb); in gm12u320_stop_fb_update()
/Linux-v6.1/drivers/gpu/drm/gma500/
Dgma_display.c57 struct drm_framebuffer *old_fb) in gma_pipe_set_base() argument
133 if (old_fb) in gma_pipe_set_base()
134 psb_gem_unpin(to_psb_gem_object(old_fb->obj[0])); in gma_pipe_set_base()
517 struct drm_framebuffer *old_fb = crtc->primary->old_fb; in gma_crtc_page_flip() local
538 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
548 ret = crtc_funcs->mode_set_base(crtc, crtc->x, crtc->y, old_fb); in gma_crtc_page_flip()
Doaktrail_crtc.c362 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument
384 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
483 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
592 int x, int y, struct drm_framebuffer *old_fb) in oaktrail_pipe_set_base() argument
Dpsb_intel_display.c94 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument
113 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
292 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.c265 struct drm_framebuffer *old_fb) in oaktrail_crtc_hdmi_mode_set() argument
353 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
/Linux-v6.1/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()
/Linux-v6.1/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.h667 struct drm_framebuffer *old_fb; member
/Linux-v6.1/drivers/gpu/drm/vc4/
Dvc4_crtc.c821 struct drm_framebuffer *old_fb; member
852 if (flip_state->old_fb) in vc4_async_page_flip_complete()
853 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete()
864 if (flip_state->old_fb) { in vc4_async_page_flip_seqno_complete()
866 drm_fb_dma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_seqno_complete()
956 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip_common()
957 if (flip_state->old_fb) in vc4_async_page_flip_common()
958 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip_common()
/Linux-v6.1/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()
/Linux-v6.1/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c252 struct drm_framebuffer *old_fb = old_state->fb; in dcss_plane_needs_setup() local
262 fb->format->format != old_fb->format->format || in dcss_plane_needs_setup()
263 fb->modifier != old_fb->modifier || in dcss_plane_needs_setup()
/Linux-v6.1/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-v6.1/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c362 struct drm_framebuffer *old_fb) in radeon_crtc_set_base() argument
364 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in radeon_crtc_set_base()
1039 int x, int y, struct drm_framebuffer *old_fb) in radeon_crtc_mode_set() argument
1044 radeon_crtc_set_base(crtc, x, y, old_fb); in radeon_crtc_mode_set()
Dradeon_mode.h811 struct drm_framebuffer *old_fb);
820 struct drm_framebuffer *old_fb);
824 struct drm_framebuffer *old_fb);
Datombios_crtc.c1665 struct drm_framebuffer *old_fb) in atombios_crtc_set_base() argument
1671 return dce4_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1673 return avivo_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1675 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
2044 int x, int y, struct drm_framebuffer *old_fb) in atombios_crtc_mode_set() argument
2075 atombios_crtc_set_base(crtc, x, y, old_fb); in atombios_crtc_mode_set()
/Linux-v6.1/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
/Linux-v6.1/drivers/gpu/drm/mcde/
Dmcde_display.c164 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in mcde_display_check() local
189 if (old_fb && old_fb->format != fb->format) in mcde_display_check()

12