summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-10-05 12:43:06 +0200
committerDave Airlie <airlied@redhat.com>2010-10-06 11:29:58 +1000
commit30f47fc85d524d25d63da9e6d77e55ab99c6cc4a (patch)
treef57fee13e97a278c22af096caba49eabc512bbee /include/drm
parent09e2601b5a7bb817fb07df6f430289484a9a2cad (diff)
downloadop-kernel-dev-30f47fc85d524d25d63da9e6d77e55ab99c6cc4a.zip
op-kernel-dev-30f47fc85d524d25d63da9e6d77e55ab99c6cc4a.tar.gz
drm/vmwgfx: Add a parameter to get the max fb size
This can be used by the X server to restrict mode resolutions and size of root pixmap. Bump minor to announce this availability. Bump driver date. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/vmwgfx_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/vmwgfx_drm.h b/include/drm/vmwgfx_drm.h
index 4d08423..650e6bf 100644
--- a/include/drm/vmwgfx_drm.h
+++ b/include/drm/vmwgfx_drm.h
@@ -72,6 +72,7 @@
#define DRM_VMW_PARAM_FIFO_OFFSET 3
#define DRM_VMW_PARAM_HW_CAPS 4
#define DRM_VMW_PARAM_FIFO_CAPS 5
+#define DRM_VMW_PARAM_MAX_FB_SIZE 6
/**
* struct drm_vmw_getparam_arg
OpenPOWER on IntegriCloud