From 011999927f76a7e9ba8f047fae4b4e084da6c2c3 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Wed, 14 Nov 2012 12:46:39 +0800 Subject: intel: Add support for VEBOX ring (v2) v2: Fix the test for has_vebox Signed-off-by: Xiang, Haihao Signed-off-by: Ben Widawsky --- include/drm/i915_drm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/drm/i915_drm.h') diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 7e9e9bd0..aa983f34 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -303,6 +303,7 @@ typedef struct drm_i915_irq_wait { #define I915_PARAM_HAS_LLC 17 #define I915_PARAM_HAS_ALIASING_PPGTT 18 #define I915_PARAM_HAS_WAIT_TIMEOUT 19 +#define I915_PARAM_HAS_VEBOX 22 typedef struct drm_i915_getparam { int param; @@ -649,6 +650,7 @@ struct drm_i915_gem_execbuffer2 { #define I915_EXEC_RENDER (1<<0) #define I915_EXEC_BSD (2<<0) #define I915_EXEC_BLT (3<<0) +#define I915_EXEC_VEBOX (4<<0) /* Used for switching the constants addressing mode on gen4+ RENDER ring. * Gen6+ only supports relative addressing to dynamic state (default) and -- cgit v1.2.3