This series introduces basic support for userspace managed surfaces. The lifetime and id's of these surfaces is managed by userspace submitted commands instead of relying on the kernel to manage them. v2: Add flag for userspace to check userspace surface support. Maaz Mombasawala (3): drm/vmwgfx: Introduce userspace managed surfaces drm/vmwgfx: Support hw_destroy for userspace managed surfaces drm/vmwgfx: Add support for older define commands for userspace surfaces drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 24 +- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 331 ++++++++++++++++++++++-- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 3 + drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 198 +++++++++++++- include/uapi/drm/vmwgfx_drm.h | 4 + 5 files changed, 527 insertions(+), 33 deletions(-) -- 2.43.0