summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2014-02-12 12:07:38 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2014-02-12 12:17:00 +0100
commit857aea1c5769386b1905bb38fbb4464c800b2df6 (patch)
treebc8647e127ab98a1ea818d40a7a7c2a1b7cddc3d /include/uapi
parent8e67bbbc51dbeaba480e83fe2162eb08083a0459 (diff)
downloadop-kernel-dev-857aea1c5769386b1905bb38fbb4464c800b2df6.zip
op-kernel-dev-857aea1c5769386b1905bb38fbb4464c800b2df6.tar.gz
drm/vmwgfx: Get maximum mob size from register SVGA_REG_MOB_MAX_SIZE
This patch queries the register SVGA_REG_MOB_MAX_SIZE for the maximum size of a single mob. Signed-off-by: Charmaine Lee <charmainel@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'include/uapi')
-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 9971c56..87792a5 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -87,6 +87,7 @@
#define DRM_VMW_PARAM_MAX_SURF_MEMORY 7
#define DRM_VMW_PARAM_3D_CAPS_SIZE 8
#define DRM_VMW_PARAM_MAX_MOB_MEMORY 9
+#define DRM_VMW_PARAM_MAX_MOB_SIZE 10
/**
* struct drm_vmw_getparam_arg
OpenPOWER on IntegriCloud