summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-11-19 21:49:07 +0300
committerEric Anholt <eric@anholt.net>2009-12-01 20:19:07 +0300
commite9560f7cb20722e0e7db46bbb6f43c2194a238d5 (patch)
tree876a1e87246fd7a966cfc9a059efcd572e9b7359 /include/drm
parent7bd4d7be5c8c35a401b1589201e5d43a64d3f05b (diff)
downloadlinux-e9560f7cb20722e0e7db46bbb6f43c2194a238d5.tar.xz
drm/i915: add GETPARAM request for page flipping
Add a GETPARAM request for checking if page flipping is supported. Useful for the 2D driver to enable the flipping path. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/i915_drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index c900499f2f63..1b4f3a565d78 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -271,6 +271,7 @@ typedef struct drm_i915_irq_wait {
#define I915_PARAM_HAS_GEM 5
#define I915_PARAM_NUM_FENCES_AVAIL 6
#define I915_PARAM_HAS_OVERLAY 7
+#define I915_PARAM_HAS_PAGEFLIPPING 8
typedef struct drm_i915_getparam {
int param;