[PATCH 2/2] Add the I915_CONTEXT_PARAM_NO_ZEROMAP parameter

David Weinehall david.weinehall at linux.intel.com
Tue Jun 30 05:24:53 PDT 2015


A new parameter was recently added to the i915 GEM contexts.
Add its define to i915_drm.h.

Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>
---
 include/drm/i915_drm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index ded43b1cb117..a658d1cc367a 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -1101,6 +1101,7 @@ struct drm_i915_gem_context_param {
 	__u32 size;
 	__u64 param;
 #define I915_CONTEXT_PARAM_BAN_PERIOD 0x1
+#define I915_CONTEXT_PARAM_NO_ZEROMAP 0x2
 	__u64 value;
 };
 
-- 
2.1.4



More information about the dri-devel mailing list