[igt-dev] [PATCH i-g-t v2 5/6] drm-uapi/vmwgfx: sync with drm-next

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu Oct 26 10:09:00 UTC 2023


From: Simon Ser <contact at emersion.fr>

Sync vmwgfx drm-uapi header with drm-next commit ("52920704df878050123dfeb469aa6ab8022547c1")

v1: split virtgpu and vmwgfx to one separate patch (Kamil)
v2: correct spelling in commit description, remove unreachable
  e-mail, split virtgpu and vmwgfx into two patches, keep a-b
  for vmwgfx (Kamil)

Signed-off-by: Simon Ser <contact at emersion.fr>
Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Cc: Zack Rusin <zackr at vmware.com>
Cc: Martin Krastev <krastevm at vmware.com>
Acked-by: Zack Rusin <zackr at vmware.com> #vmwgfx
---
 include/drm-uapi/vmwgfx_drm.h | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/include/drm-uapi/vmwgfx_drm.h b/include/drm-uapi/vmwgfx_drm.h
index 9078775fe..26549c86a 100644
--- a/include/drm-uapi/vmwgfx_drm.h
+++ b/include/drm-uapi/vmwgfx_drm.h
@@ -1,6 +1,6 @@
 /**************************************************************************
  *
- * Copyright © 2009-2015 VMware, Inc., Palo Alto, CA., USA
+ * Copyright © 2009-2022 VMware, Inc., Palo Alto, CA., USA
  * All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -92,6 +92,12 @@ extern "C" {
  *
  * DRM_VMW_PARAM_SM5
  * SM5 support is enabled.
+ *
+ * DRM_VMW_PARAM_GL43
+ * SM5.1+GL4.3 support is enabled.
+ *
+ * DRM_VMW_PARAM_DEVICE_ID
+ * PCI ID of the underlying SVGA device.
  */
 
 #define DRM_VMW_PARAM_NUM_STREAMS      0
@@ -110,6 +116,8 @@ extern "C" {
 #define DRM_VMW_PARAM_HW_CAPS2         13
 #define DRM_VMW_PARAM_SM4_1            14
 #define DRM_VMW_PARAM_SM5              15
+#define DRM_VMW_PARAM_GL43             16
+#define DRM_VMW_PARAM_DEVICE_ID        17
 
 /**
  * enum drm_vmw_handle_type - handle type for ref ioctls
-- 
2.42.0



More information about the igt-dev mailing list