aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/i915_drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/drm/i915_drm.h')
-rw-r--r--include/uapi/drm/i915_drm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h
index 4322b1e7d2e..b746a3cf5fa 100644
--- a/include/uapi/drm/i915_drm.h
+++ b/include/uapi/drm/i915_drm.h
@@ -306,6 +306,7 @@ typedef struct drm_i915_irq_wait {
306#define I915_PARAM_HAS_SEMAPHORES 20 306#define I915_PARAM_HAS_SEMAPHORES 20
307#define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21 307#define I915_PARAM_HAS_PRIME_VMAP_FLUSH 21
308#define I915_PARAM_RSVD_FOR_FUTURE_USE 22 308#define I915_PARAM_RSVD_FOR_FUTURE_USE 22
309#define I915_PARAM_HAS_SECURE_BATCHES 23
309 310
310typedef struct drm_i915_getparam { 311typedef struct drm_i915_getparam {
311 int param; 312 int param;
@@ -671,6 +672,11 @@ struct drm_i915_gem_execbuffer2 {
671/** Resets the SO write offset registers for transform feedback on gen7. */ 672/** Resets the SO write offset registers for transform feedback on gen7. */
672#define I915_EXEC_GEN7_SOL_RESET (1<<8) 673#define I915_EXEC_GEN7_SOL_RESET (1<<8)
673 674
675/** Request a privileged ("secure") batch buffer. Note only available for
676 * DRM_ROOT_ONLY | DRM_MASTER processes.
677 */
678#define I915_EXEC_SECURE (1<<9)
679
674#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff) 680#define I915_EXEC_CONTEXT_ID_MASK (0xffffffff)
675#define i915_execbuffer2_set_context_id(eb2, context) \ 681#define i915_execbuffer2_set_context_id(eb2, context) \
676 (eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_MASK 682 (eb2).rsvd1 = context & I915_EXEC_CONTEXT_ID_MASK