summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2013-12-09 08:39:04 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2013-12-09 08:50:23 +0100
commit11e6a09fba446ce799a9de51d2d99586024bbdaa (patch)
tree44085cf544577b3d033801e73b02a8d527f04177 /include
parentMerge branch 'drm-fixes-3.13' of git://people.freedesktop.org/~agd5f/linux in... (diff)
downloadlinux-11e6a09fba446ce799a9de51d2d99586024bbdaa.tar.xz
linux-11e6a09fba446ce799a9de51d2d99586024bbdaa.zip
drm/vmwgfx: Add max surface memory param
Userspace uses this to workaround overcommit issues by flushing the command stream early. Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
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 bcb0912afe7a..f854ca4a1372 100644
--- a/include/uapi/drm/vmwgfx_drm.h
+++ b/include/uapi/drm/vmwgfx_drm.h
@@ -75,6 +75,7 @@
#define DRM_VMW_PARAM_FIFO_CAPS 4
#define DRM_VMW_PARAM_MAX_FB_SIZE 5
#define DRM_VMW_PARAM_FIFO_HW_VERSION 6
+#define DRM_VMW_PARAM_MAX_SURF_MEMORY 7
/**
* struct drm_vmw_getparam_arg