summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2021-12-06 20:26:17 +0300
committerZack Rusin <zackr@vmware.com>2021-12-09 21:16:29 +0300
commitabaad3d95b5117a17886d37cf0228712801cd259 (patch)
tree245dac1264b5ae0a0d5d026fa71bef251fea46ca /include
parent4fb9326b96cbf9f751086969161a6c1d75bcd8f9 (diff)
downloadlinux-abaad3d95b5117a17886d37cf0228712801cd259.tar.xz
drm/vmwgfx: Allow checking for gl43 contexts
To make sure we're running on top of hardware that can support GL4.3 we need to add a way of querying for those capabilities. DRM_VMW_PARAM_GL43 allows userspace to check for presence of GL4.3 capable contexts. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211206172620.3139754-10-zack@kde.org
Diffstat (limited to 'include')
-rw-r--r--include/uapi/drm/vmwgfx_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/vmwgfx_drm.h b/include/uapi/drm/vmwgfx_drm.h
index 9078775feb51..8277644c1144 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -110,6 +110,7 @@ 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
/**
* enum drm_vmw_handle_type - handle type for ref ioctls