diff mbox

[2/2] Add the I915_CONTEXT_PARAM_NO_ZEROMAP parameter

Message ID 1435667093-14563-3-git-send-email-david.weinehall@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

David Weinehall June 30, 2015, 12:24 p.m. UTC
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@linux.intel.com>
---
 include/drm/i915_drm.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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;
 };