drm/i915: placeholder getparam
authorBen Widawsky <ben@bwidawsk.net>
Wed, 12 Sep 2012 00:13:05 +0000 (17:13 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 20 Sep 2012 12:22:55 +0000 (14:22 +0200)
There are internal patches for a feature which require a parameter to
query whether support exists . These patches cannot be made external
yet. In order to keep existing tests and userspace happy and free from
conflicts, reserve a number for it.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/i915_drm.h

index 05e24d31f32981bb1ee3615ae7052932b7ca182f..c8833009f37b80ee8000c6ac7fb8cfba9528e681 100644 (file)
@@ -313,6 +313,7 @@ typedef struct drm_i915_irq_wait {
 #define I915_PARAM_HAS_WAIT_TIMEOUT     19
 #define I915_PARAM_HAS_SEMAPHORES       20
 #define I915_PARAM_HAS_PRIME_VMAP_FLUSH         21
+#define I915_PARAM_RSVD_FOR_FUTURE_USE  22
 
 typedef struct drm_i915_getparam {
        int param;