Re: [PATCH] drm/vmwgfx: Unmap the surface before resetting it on a plane state

2023-12-25 Thread Stefan Hoffmeister
ES: CR0: 80050033 CR2: 0028 CR3: 000104006004 CR4: 003706f0 Signed-off-by: Zack Rusin Fixes: 485d98d472d5 ("drm/vmwgfx: Add support for CursorMob and CursorBypass 4") Reported-by: Stefan Hoffmeister Closes: https://gitlab.freedesktop.org

BUG / design challenge: vmwgfx + PRIME handle free == clobbering errno

2023-12-19 Thread Stefan Hoffmeister
Hi, vmwgfx implements drmPrimeFDToHandle in terms of the TTM resource manager. At the same time, the driver advertises .driver_features = DRIVER_MODESET | DRIVER_RENDER | DRIVER_ATOMIC | DRIVER_GEM, Given that, a userland application will call drmCloseBufferHandle to correc

Re: BUG [vmwgfx] kernel oops atomic cursors / vmw_du_cursor_plane_cleanup_fb / KDE Plasma 6

2023-12-19 Thread Stefan Hoffmeister
Resending with all MAINTAINTERS cc'ed because no ACK. Quoting Stefan Hoffmeister : Previously reported at https://gitlab.freedesktop.org/drm/misc/-/issues/34 and https://bugs.kde.org/show_bug.cgi?id=478308 vmwgfx runs into kernel oops related to atomic cursors with KDE Plasma 6.

BUG [vmwgfx] kernel oops atomic cursors / vmw_du_cursor_plane_cleanup_fb / KDE Plasma 6

2023-12-14 Thread Stefan Hoffmeister
Previously reported at https://gitlab.freedesktop.org/drm/misc/-/issues/34 and https://bugs.kde.org/show_bug.cgi?id=478308 vmwgfx runs into kernel oops related to atomic cursors with KDE Plasma 6. I am able to reproduce this with * VMware Workstation 17.5 (on Windows 11 Professional) a