Skip to contentSkip to conversation

drm/i915: placeholder getparam

PATCH Applied Ben Widawsky 2 participants 2 messages Sep 12, 2012 DRM drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: placeholder getparam

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.

---
 include/drm/i915_drm.h | 1 +
 1 file changed, 1 insertion(+)
include/drm/i915_drm.h +1 -0
index 05e24d3..c883300 100644
@@ -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;
Signature · 1 line
1.7.12
#1 lore raw
Quoted 6 lines · Ben Widawsky

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.

Queued for -next, thanks for the patch.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch