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.

v3:
- Unref surface resource properly if there is error in creating surface object.
- Check that guest backed objects are supported when reporting 
DRM_VMW_PARAM_USER_SRF.
- Bind hw_destroy function when command buffer gets commited.

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(-)


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     |  23 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 326 ++++++++++++++++++++++--
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c   |   3 +
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 203 ++++++++++++++-
 include/uapi/drm/vmwgfx_drm.h           |   4 +
 5 files changed, 526 insertions(+), 33 deletions(-)

-- 
2.43.0

Reply via email to