linux/drivers/gpu/drm/vmwgfx
Martin Krastev add662775d drm/vmwgfx: Fix Legacy Display Unit atomic drm support
[ Upstream commit a37a512db3 ]

Legacy Display Unit (LDU) fb dirty support used a custom fb dirty callback. Latter
handled only the DIRTYFB IOCTL presentation path but not the ADDFB2/PAGE_FLIP/RMFB
IOCTL path, common for Wayland compositors.

Get rid of the custom callback in favor of drm_atomic_helper_dirtyfb and unify the
handling of the presentation paths inside of vmw_ldu_primary_plane_atomic_update.
This also homogenizes the fb dirty callbacks across all DUs: LDU, SOU and STDU.

Signed-off-by: Martin Krastev <krastevm@vmware.com>
Reviewed-by: Maaz Mombasawala <mombasawalam@vmware.com>
Fixes: 2f5544ff03 ("drm/vmwgfx: Use atomic helper function for dirty fb IOCTL")
Cc: <stable@vger.kernel.org> # v5.0+
Signed-off-by: Zack Rusin <zackr@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230321020949.335012-3-zack@kde.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-17 11:53:27 +02:00
..
device_include
Kconfig
Makefile
ttm_object.c
ttm_object.h
vmw_surface_cache.h
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_blit.c
vmwgfx_bo.c
vmwgfx_cmd.c
vmwgfx_cmdbuf_res.c
vmwgfx_cmdbuf.c
vmwgfx_context.c
vmwgfx_cotable.c
vmwgfx_devcaps.c
vmwgfx_devcaps.h
vmwgfx_drv.c
vmwgfx_drv.h drm/vmwgfx: Remove explicit and broken vblank handling 2023-05-17 11:53:27 +02:00
vmwgfx_execbuf.c
vmwgfx_fb.c
vmwgfx_fence.c
vmwgfx_fence.h
vmwgfx_gem.c
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c
vmwgfx_ioctl.c
vmwgfx_irq.c
vmwgfx_kms.c drm/vmwgfx: Fix Legacy Display Unit atomic drm support 2023-05-17 11:53:27 +02:00
vmwgfx_kms.h drm/vmwgfx: Fix Legacy Display Unit atomic drm support 2023-05-17 11:53:27 +02:00
vmwgfx_ldu.c drm/vmwgfx: Fix Legacy Display Unit atomic drm support 2023-05-17 11:53:27 +02:00
vmwgfx_mksstat.h
vmwgfx_mob.c
vmwgfx_msg_arm64.h
vmwgfx_msg_x86.h
vmwgfx_msg.c
vmwgfx_overlay.c
vmwgfx_page_dirty.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource_priv.h
vmwgfx_resource.c
vmwgfx_scrn.c drm/vmwgfx: Remove explicit and broken vblank handling 2023-05-17 11:53:27 +02:00
vmwgfx_shader.c
vmwgfx_simple_resource.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Remove explicit and broken vblank handling 2023-05-17 11:53:27 +02:00
vmwgfx_streamoutput.c
vmwgfx_surface.c
vmwgfx_system_manager.c
vmwgfx_ttm_buffer.c
vmwgfx_ttm_glue.c
vmwgfx_va.c
vmwgfx_validation.c
vmwgfx_validation.h