Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/loongson/
A Dlsdc_plane.c76 struct drm_framebuffer *old_fb = old_plane_state->fb; in lsdc_primary_atomic_update() local
84 if (!old_fb || old_fb->format != new_fb->format) in lsdc_primary_atomic_update()
225 struct drm_framebuffer *old_fb = plane->state->fb; in lsdc_cursor_plane_atomic_async_update() local
262 if (!old_fb || old_fb != new_fb) in lsdc_cursor_plane_atomic_async_update()
306 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a1000_cursor_plane_atomic_update() local
315 if (!old_fb || old_fb != new_fb) in ls7a1000_cursor_plane_atomic_update()
387 struct drm_framebuffer *old_fb = old_plane_state->fb; in ls7a2000_cursor_plane_atomic_update() local
396 if (!old_fb || new_fb != old_fb) { in ls7a2000_cursor_plane_atomic_update()
/drivers/gpu/drm/
A Ddrm_plane.c762 plane->old_fb = NULL; in drm_plane_force_disable()
767 plane->old_fb = NULL; in drm_plane_force_disable()
1040 plane->old_fb = NULL; in __setplane_internal()
1060 plane->old_fb = NULL; in __setplane_internal()
1064 if (plane->old_fb) in __setplane_internal()
1066 plane->old_fb = NULL; in __setplane_internal()
1471 old_fb = plane->fb; in drm_mode_page_flip_ioctl()
1473 if (old_fb == NULL) { in drm_mode_page_flip_ioctl()
1549 plane->old_fb = NULL; in drm_mode_page_flip_ioctl()
1561 if (plane->old_fb) in drm_mode_page_flip_ioctl()
[all …]
A Ddrm_crtc.c603 plane->old_fb = plane->fb; in __drm_mode_set_config_internal()
621 if (plane->old_fb) in __drm_mode_set_config_internal()
622 drm_framebuffer_put(plane->old_fb); in __drm_mode_set_config_internal()
623 plane->old_fb = NULL; in __drm_mode_set_config_internal()
737 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local
740 old_fb = plane->state->fb; in drm_mode_setcrtc()
742 old_fb = plane->fb; in drm_mode_setcrtc()
744 if (!old_fb) { in drm_mode_setcrtc()
750 fb = old_fb; in drm_mode_setcrtc()
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()
/drivers/gpu/drm/imx/ipuv3/
A 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()
/drivers/gpu/drm/tiny/
A 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()
A Dcirrus-qemu.c333 struct drm_framebuffer *old_fb = old_plane_state->fb; in cirrus_primary_plane_helper_atomic_update() local
345 if (!old_fb || old_fb->format != fb->format) in cirrus_primary_plane_helper_atomic_update()
347 if (!old_fb || old_fb->pitches[0] != fb->pitches[0]) in cirrus_primary_plane_helper_atomic_update()
/drivers/gpu/drm/gud/
A Dgud_pipe.c398 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() local
416 old_fb = gdrm->fb; in gud_fb_queue_damage()
430 if (old_fb) in gud_fb_queue_damage()
431 drm_framebuffer_put(old_fb); in gud_fb_queue_damage()
462 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() local
478 if (old_fb && old_fb->format != format) in gud_pipe_check()
/drivers/gpu/drm/gma500/
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()
A Doaktrail_crtc.c363 struct drm_framebuffer *old_fb) in oaktrail_crtc_mode_set() argument
385 return oaktrail_crtc_hdmi_mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in oaktrail_crtc_mode_set()
484 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_mode_set()
593 int x, int y, struct drm_framebuffer *old_fb) in oaktrail_pipe_set_base() argument
A Dpsb_intel_display.c97 struct drm_framebuffer *old_fb) in psb_intel_crtc_mode_set() argument
116 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
295 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in psb_intel_crtc_mode_set()
A Dgma_display.h60 struct drm_framebuffer *old_fb);
A Doaktrail.h244 struct drm_framebuffer *old_fb);
A Doaktrail_hdmi.c267 struct drm_framebuffer *old_fb) in oaktrail_crtc_hdmi_mode_set() argument
355 crtc_funcs->mode_set_base(crtc, x, y, old_fb); in oaktrail_crtc_hdmi_mode_set()
/drivers/gpu/drm/tve200/
A 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/
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()
/drivers/gpu/drm/nouveau/dispnv04/
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()
918 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument
920 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base()
923 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base()
1158 struct drm_framebuffer *old_fb = crtc->primary->fb; in nv04_crtc_page_flip() local
1159 struct nouveau_bo *old_bo = nouveau_gem_object(old_fb->obj[0]); in nv04_crtc_page_flip()
/drivers/gpu/drm/imx/dcss/
A 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()
/drivers/gpu/drm/ast/
A Dast_mode.c561 struct drm_framebuffer *old_fb = old_plane_state->fb; in ast_primary_plane_helper_atomic_update() local
568 if (!old_fb || (fb->format != old_fb->format) || crtc_state->mode_changed) { in ast_primary_plane_helper_atomic_update()
586 if (!old_fb || old_fb->pitches[0] != fb->pitches[0]) in ast_primary_plane_helper_atomic_update()
/drivers/gpu/drm/imx/lcdc/
A Dimx-lcdc.c304 struct drm_framebuffer *old_fb = old_state->fb; in imx_lcdc_pipe_update() local
308 if (old_fb && old_fb->format != fb->format) in imx_lcdc_pipe_update()
/drivers/gpu/drm/pl111/
A 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()
/drivers/gpu/drm/radeon/
A 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()
A Dradeon_mode.h806 struct drm_framebuffer *old_fb);
815 struct drm_framebuffer *old_fb);
819 struct drm_framebuffer *old_fb);
A Datombios_crtc.c1664 struct drm_framebuffer *old_fb) in atombios_crtc_set_base() argument
1670 return dce4_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1672 return avivo_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
1674 return radeon_crtc_do_set_base(crtc, old_fb, x, y, 0); in atombios_crtc_set_base()
2043 int x, int y, struct drm_framebuffer *old_fb) in atombios_crtc_mode_set() argument
2074 atombios_crtc_set_base(crtc, x, y, old_fb); in atombios_crtc_mode_set()
/drivers/gpu/drm/mcde/
A 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()

Completed in 76 milliseconds

12