aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang, Haihao2012-11-13 22:46:39 -0600
committerBen Widawsky2013-04-27 13:31:22 -0500
commit011999927f76a7e9ba8f047fae4b4e084da6c2c3 (patch)
treea947d952f1046d95eeac283e64f7bb194563f4b0 /include/drm/i915_drm.h
parentb3a3a77823ada2eb37233678b5a49efaec9b75cb (diff)
downloadexternal-libgbm-011999927f76a7e9ba8f047fae4b4e084da6c2c3.tar.gz
external-libgbm-011999927f76a7e9ba8f047fae4b4e084da6c2c3.tar.xz
external-libgbm-011999927f76a7e9ba8f047fae4b4e084da6c2c3.zip
intel: Add support for VEBOX ring (v2)
v2: Fix the test for has_vebox Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'include/drm/i915_drm.h')
-rw-r--r--include/drm/i915_drm.h2
1 files changed, 2 insertions, 0 deletions
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 {
303#define I915_PARAM_HAS_LLC 17 303#define I915_PARAM_HAS_LLC 17
304#define I915_PARAM_HAS_ALIASING_PPGTT 18 304#define I915_PARAM_HAS_ALIASING_PPGTT 18
305#define I915_PARAM_HAS_WAIT_TIMEOUT 19 305#define I915_PARAM_HAS_WAIT_TIMEOUT 19
306#define I915_PARAM_HAS_VEBOX 22
306 307
307typedef struct drm_i915_getparam { 308typedef struct drm_i915_getparam {
308 int param; 309 int param;
@@ -649,6 +650,7 @@ struct drm_i915_gem_execbuffer2 {
649#define I915_EXEC_RENDER (1<<0) 650#define I915_EXEC_RENDER (1<<0)
650#define I915_EXEC_BSD (2<<0) 651#define I915_EXEC_BSD (2<<0)
651#define I915_EXEC_BLT (3<<0) 652#define I915_EXEC_BLT (3<<0)
653#define I915_EXEC_VEBOX (4<<0)
652 654
653/* Used for switching the constants addressing mode on gen4+ RENDER ring. 655/* Used for switching the constants addressing mode on gen4+ RENDER ring.
654 * Gen6+ only supports relative addressing to dynamic state (default) and 656 * Gen6+ only supports relative addressing to dynamic state (default) and