/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_plane.c | 611 plane->old_fb = plane->fb; in drm_plane_force_disable() 615 plane->old_fb = NULL; in drm_plane_force_disable() 619 drm_framebuffer_put(plane->old_fb); in drm_plane_force_disable() 620 plane->old_fb = NULL; in drm_plane_force_disable() 879 plane->old_fb = plane->fb; in __setplane_internal() 885 plane->old_fb = NULL; in __setplane_internal() 896 plane->old_fb = plane->fb; in __setplane_internal() 905 plane->old_fb = NULL; in __setplane_internal() 909 if (plane->old_fb) in __setplane_internal() 910 drm_framebuffer_put(plane->old_fb); in __setplane_internal() [all …]
|
H A D | drm_crtc.c | 616 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() 750 struct drm_framebuffer *old_fb; in drm_mode_setcrtc() local 753 old_fb = plane->state->fb; in drm_mode_setcrtc() 755 old_fb = plane->fb; in drm_mode_setcrtc() 757 if (!old_fb) { in drm_mode_setcrtc() 763 fb = old_fb; in drm_mode_setcrtc()
|
H A D | drm_crtc_helper.c | 286 struct drm_framebuffer *old_fb) in drm_crtc_helper_set_mode() argument 380 ret = !crtc_funcs->mode_set(crtc, mode, adjusted_mode, x, y, old_fb); in drm_crtc_helper_set_mode()
|
/openbmc/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_plane.c | 77 struct drm_framebuffer *old_fb = old_plane_state->fb; in lsdc_primary_atomic_update() local 85 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()
|
/openbmc/linux/drivers/gpu/drm/imx/ipuv3/ |
H A D | ipuv3-plane.c | 376 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()
|
/openbmc/linux/drivers/gpu/drm/tiny/ |
H A D | gm12u320.c | 406 struct drm_framebuffer *old_fb = NULL; in gm12u320_fb_mark_dirty() local 412 old_fb = gm12u320->fb_update.fb; in gm12u320_fb_mark_dirty() 432 if (old_fb) in gm12u320_fb_mark_dirty() 433 drm_framebuffer_put(old_fb); in gm12u320_fb_mark_dirty() 438 struct drm_framebuffer *old_fb; in gm12u320_stop_fb_update() local 443 old_fb = gm12u320->fb_update.fb; in gm12u320_stop_fb_update() 448 drm_framebuffer_put(old_fb); in gm12u320_stop_fb_update()
|
/openbmc/linux/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 387 struct drm_framebuffer *old_fb = NULL; in gud_fb_queue_damage() local 405 old_fb = gdrm->fb; in gud_fb_queue_damage() 419 if (old_fb) in gud_fb_queue_damage() 420 drm_framebuffer_put(old_fb); in gud_fb_queue_damage() 451 struct drm_framebuffer *old_fb = old_plane_state->fb; in gud_pipe_check() local 467 if (old_fb && old_fb->format != format) in gud_pipe_check()
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | gma_display.c | 59 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()
|
H A D | oaktrail_crtc.c | 363 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
|
H A D | psb_intel_display.c | 97 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()
|
H A D | gma_display.h | 60 struct drm_framebuffer *old_fb);
|
H A D | oaktrail.h | 244 struct drm_framebuffer *old_fb);
|
/openbmc/linux/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 76 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()
|
/openbmc/linux/include/drm/ |
H A D | drm_modeset_helper_vtables.h | 212 struct drm_framebuffer *old_fb); 253 struct drm_framebuffer *old_fb);
|
H A D | drm_crtc_helper.h | 54 struct drm_framebuffer *old_fb);
|
H A D | drm_plane.h | 677 struct drm_framebuffer *old_fb; member
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_crtc.c | 833 struct drm_framebuffer *old_fb; member 864 if (flip_state->old_fb) in vc4_async_page_flip_complete() 865 drm_framebuffer_put(flip_state->old_fb); in vc4_async_page_flip_complete() 876 if (flip_state->old_fb) { in vc4_async_page_flip_seqno_complete() 878 drm_fb_dma_get_gem_obj(flip_state->old_fb, 0); in vc4_async_page_flip_seqno_complete() 968 flip_state->old_fb = plane->state->fb; in vc4_async_page_flip_common() 969 if (flip_state->old_fb) in vc4_async_page_flip_common() 970 drm_framebuffer_get(flip_state->old_fb); in vc4_async_page_flip_common()
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | crtc.c | 54 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() 905 struct drm_framebuffer *old_fb) in nv04_crtc_mode_set_base() argument 907 int ret = nv_crtc_swap_fbs(crtc, old_fb); in nv04_crtc_mode_set_base() 910 return nv04_crtc_do_mode_set_base(crtc, old_fb, x, y, false); in nv04_crtc_mode_set_base() 1145 struct drm_framebuffer *old_fb = crtc->primary->fb; in nv04_crtc_page_flip() local 1146 struct nouveau_bo *old_bo = nouveau_gem_object(old_fb->obj[0]); in nv04_crtc_page_flip()
|
/openbmc/linux/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-plane.c | 252 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()
|
/openbmc/linux/drivers/gpu/drm/imx/lcdc/ |
H A D | imx-lcdc.c | 303 struct drm_framebuffer *old_fb = old_state->fb; in imx_lcdc_pipe_update() local 307 if (old_fb && old_fb->format != fb->format) in imx_lcdc_pipe_update()
|
/openbmc/linux/drivers/gpu/drm/pl111/ |
H A D | pl111_display.c | 90 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()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_crtc.c | 361 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()
|
H A D | radeon_mode.h | 807 struct drm_framebuffer *old_fb); 816 struct drm_framebuffer *old_fb); 820 struct drm_framebuffer *old_fb);
|
H A D | atombios_crtc.c | 1664 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()
|
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 649 struct drm_framebuffer *old_fb = old_plane_state->fb; in ast_primary_plane_helper_atomic_update() local 654 if (!old_fb || (fb->format != old_fb->format)) { in ast_primary_plane_helper_atomic_update() 675 if (!old_fb || old_fb->pitches[0] != fb->pitches[0]) in ast_primary_plane_helper_atomic_update()
|