diff mbox

drm/i915: placeholder getparam

Message ID 1347408785-5911-1-git-send-email-ben@bwidawsk.net (mailing list archive)
State Accepted
Headers show

Commit Message

Ben Widawsky Sept. 12, 2012, 12:13 a.m. UTC
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>
---
 include/drm/i915_drm.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Daniel Vetter Sept. 12, 2012, 12:37 a.m. UTC | #1
On Tue, Sep 11, 2012 at 05:13:05PM -0700, Ben Widawsky wrote:
> 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>
Queued for -next, thanks for the patch.
-Daniel
diff mbox

Patch

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index 05e24d3..c883300 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -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;