Skip to content

drm/vmwgfx add support for GL4

Roland Scheidegger (VMware) dri-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/217 patches 0 repliesNew
  2. v2 posting 1/217 patches 0 repliesSuperseded
  3. v117 patches 2 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17drm/vmwgfx: Also check for SVGA_CAP_DX before reading DX context supportdrivers/gpu/drm/vmwgfx/vmwgfx_drv.c+1 -10 replies
2/17drm/vmwgfx: Sync legacy multisampling device capabilitydrivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c+16 -80 replies
3/17drm/vmwgfx: Deprecate logic ops commandsdrivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c+12 -180 replies
4/17drm/vmwgfx: Use enum to represent graphics context capabilitiesdrivers/gpu/drm/vmwgfx/vmwgfx_context.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +5 more+69 -310 replies
5/17drm/vmwgfx: Sync virtual device headers for new featuredrivers/gpu/drm/vmwgfx/device_include/svga3d_cmd.h drivers/gpu/drm/vmwgfx/device_include/svga3d_devcaps.h drivers/gpu/drm/vmwgfx/device_include/svga3d_dx.h +5 more+1646 -5850 replies
6/17drm/vmwgfx: Add a new enum for SM5 graphics context capabilitydrivers/gpu/drm/vmwgfx/vmwgfx_drv.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h+24 -00 replies
7/17drm/vmwgfx: Read new register for GB memory when availabledrivers/gpu/drm/vmwgfx/vmwgfx_drv.c+9 -30 replies
8/17drm/vmwgfx: Support SM5 shader type in command bufferdrivers/gpu/drm/vmwgfx/vmwgfx_binding.c drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c+21 -40 replies
9/17drm/vmwgfx: Add support for UA view commandsdrivers/gpu/drm/vmwgfx/vmwgfx_binding.c drivers/gpu/drm/vmwgfx/vmwgfx_binding.h drivers/gpu/drm/vmwgfx/vmwgfx_context.c +4 more+319 -180 replies
10/17drm/vmwgfx: Add support for indirect and dispatch commandsdrivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c+70 -00 replies
11/17drm/vmwgfx: Rename stream output target binding tracker structdrivers/gpu/drm/vmwgfx/vmwgfx_binding.c drivers/gpu/drm/vmwgfx/vmwgfx_binding.h drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c+23 -230 replies
12/17drm/vmwgfx: Add support for streamoutput with mob commandsdrivers/gpu/drm/vmwgfx/Makefile drivers/gpu/drm/vmwgfx/vmwgfx_binding.c drivers/gpu/drm/vmwgfx/vmwgfx_binding.h +5 more+630 -70 replies
13/17drm/vmwgfx: Split surface metadata from struct vmw_surfacedrivers/gpu/drm/vmwgfx/vmwgfx_drv.h drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +1 more+202 -1540 replies
14/17drm/vmwgfx: Refactor surface_define to use vmw_surface_metadatadrivers/gpu/drm/vmwgfx/vmwgfx_drv.h drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +1 more+215 -2460 replies
15/17drm/vmwgfx: Add surface define v4 commanddrivers/gpu/drm/vmwgfx/vmwgfx_drv.h drivers/gpu/drm/vmwgfx/vmwgfx_surface.c include/uapi/drm/vmwgfx_drm.h+43 -70 replies
16/17drm/vmwgfx: Add SM5 param for userspacedrivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c include/uapi/drm/vmwgfx_drm.h+7 -00 replies
17/17drm/vmwgfx: Use vmwgfx version 2.18 to signal SM5 compatibilitydrivers/gpu/drm/vmwgfx/vmwgfx_drv.h+1 -10 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchThomas Hellström (VMware)Roland ScheideggerBrian PaulCharmaine Lee
1/17R-b R-b
2/17R-b R-b
3/17R-b R-b
4/17R-b R-b
5/17R-b
6/17R-b
7/17R-b R-b
8/17R-b R-b
9/17R-b R-b
10/17R-b R-b
11/17R-b R-b
12/17R-b R-b
13/17R-b R-b R-b
14/17R-b R-b R-b
15/17R-b R-b
16/17R-b R-b
17/17R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

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

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

v2: rebased on newer drm-next version, fixed up the email addresses in some R-b and Signed-off-by to what they really should be, hopefully fixed up sender email from header, no actual code changes

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 Hellström (VMware) (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           | 140 +++-
 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(+), 1050 deletions(-)
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_streamoutput.c
Signature · 6 lines
2.17.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel