mbox series

[v2,0/3] drm/vmwgfx: Add support for userspace managed surfaces.

Message ID 20241018210046.2222313-1-maaz.mombasawala@broadcom.com (mailing list archive)
Headers show
Series drm/vmwgfx: Add support for userspace managed surfaces. | expand

Message

Maaz Mombasawala Oct. 18, 2024, 9 p.m. UTC
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(-)