[PATCH 00/17] drm/vmwgfx add support for GL4

rscheidegger.oss at gmail.com rscheidegger.oss at gmail.com
Thu Mar 19 20:23:57 UTC 2020


From: "Roland Scheidegger (VMware)" <rscheidegger.oss at gmail.com>

This series updates vmwgfx to support newer vmware svga device protocol
and expose new commands to userspace..
This is required for supporting newer GL4 features in the guest.

This syncs up the device headers, adds support for the new commands,
and also refactors some code (in particular around surface definition)
to more easily support the new commands.

Preliminary mesa userspace code using these new vmwgfx features can be
found at: https://gitlab.freedesktop.org/bhenden/mesa



Deepak Rawat (16):
  drm/vmwgfx: Also check for SVGA_CAP_DX before reading DX context
    support
  drm/vmwgfx: Sync legacy multisampling device capability
  drm/vmwgfx: Deprecate logic ops commands
  drm/vmwgfx: Use enum to represent graphics context capabilities
  drm/vmwgfx: Sync virtual device headers for new feature
  drm/vmwgfx: Add a new enum for SM5 graphics context capability
  drm/vmwgfx: Read new register for GB memory when available
  drm/vmwgfx: Support SM5 shader type in command buffer
  drm/vmwgfx: Add support for UA view commands
  drm/vmwgfx: Add support for indirect and dispatch commands
  drm/vmwgfx: Rename stream output target binding tracker struct
  drm/vmwgfx: Add support for streamoutput with mob commands
  drm/vmwgfx: Split surface metadata from struct vmw_surface
  drm/vmwgfx: Refactor surface_define to use vmw_surface_metadata
  drm/vmwgfx: Add surface define v4 command
  drm/vmwgfx: Add SM5 param for userspace

Thomas Hellstrom (1):
  drm/vmwgfx: Use vmwgfx version 2.18 to signal SM5 compatibility

 drivers/gpu/drm/vmwgfx/Makefile               |   2 +-
 .../drm/vmwgfx/device_include/svga3d_cmd.h    | 161 +++-
 .../vmwgfx/device_include/svga3d_devcaps.h    | 787 +++++++++---------
 .../gpu/drm/vmwgfx/device_include/svga3d_dx.h | 466 ++++++++++-
 .../drm/vmwgfx/device_include/svga3d_limits.h |  36 +-
 .../device_include/svga3d_surfacedefs.h       |  58 +-
 .../drm/vmwgfx/device_include/svga3d_types.h  | 347 +++++++-
 .../gpu/drm/vmwgfx/device_include/svga_reg.h  | 382 ++++++---
 .../drm/vmwgfx/device_include/svga_types.h    |   1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c       | 213 ++++-
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.h       |  33 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_context.c       |  28 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c       |   6 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c           |  59 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h           | 152 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c       | 429 +++++++++-
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c         |  18 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c           |  43 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c           |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_so.c            |  12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_so.h            |   7 +
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c          |  61 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c  | 387 +++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c       | 608 +++++++-------
 include/uapi/drm/vmwgfx_drm.h                 |  16 +-
 25 files changed, 3252 insertions(+), 1062 deletions(-)
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c

-- 
2.17.1



More information about the dri-devel mailing list