aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorGravatar Deepak Rawat <drawat.floss@gmail.com> 2018-12-13 14:23:46 -0800
committerGravatar Roland Scheidegger <sroland@vmware.com> 2020-03-23 22:48:57 +0100
commitf0fce23384dad01ae65ba30552f91f6cb76ee56f (patch)
treed7c8ebb929e80211d4b0b459ca9db570c2e48478 /include/uapi/drm
parentdrm/vmwgfx: Add surface define v4 command (diff)
downloadlinux-f0fce23384dad01ae65ba30552f91f6cb76ee56f.tar.gz
linux-f0fce23384dad01ae65ba30552f91f6cb76ee56f.tar.bz2
linux-f0fce23384dad01ae65ba30552f91f6cb76ee56f.zip
drm/vmwgfx: Add SM5 param for userspace
Add a new param for user-space to determine if kernel module is SM5 capable. Signed-off-by: Deepak Rawat <drawat.floss@gmail.com> Reviewed-by: Thomas Hellström (VMware) <thomas_os@shipmail.org> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/vmwgfx_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index 8cd4b321597c..02e917507479 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -86,6 +86,9 @@ extern "C" {
*
* DRM_VMW_PARAM_SM4_1
* SM4_1 support is enabled.
+ *
+ * DRM_VMW_PARAM_SM5
+ * SM5 support is enabled.
*/
#define DRM_VMW_PARAM_NUM_STREAMS 0
@@ -103,6 +106,7 @@ extern "C" {
#define DRM_VMW_PARAM_DX 12
#define DRM_VMW_PARAM_HW_CAPS2 13
#define DRM_VMW_PARAM_SM4_1 14
+#define DRM_VMW_PARAM_SM5 15
/**
* enum drm_vmw_handle_type - handle type for ref ioctls