diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-05-28 19:22:33 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-05-31 20:54:21 +0200 |
commit | 82f91b6e93e2138c7e02b5a866f63d04cf040c86 (patch) | |
tree | bb4fb58ac9ba70fe5dc5f0e191257bf32a1c8b03 /include/uapi/drm | |
parent | 9010ebfd2b803ebab6c2fc70b9004b2a59e7937a (diff) | |
download | linux-82f91b6e93e2138c7e02b5a866f63d04cf040c86.tar.gz linux-82f91b6e93e2138c7e02b5a866f63d04cf040c86.tar.bz2 linux-82f91b6e93e2138c7e02b5a866f63d04cf040c86.zip |
drm/i915: add I915_EXEC_VEBOX to i915_gem_do_execbuffer()
A user can run batchbuffer via VEBOX ring.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r-- | include/uapi/drm/i915_drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index 07d59419fe6b..81b99817198e 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -660,6 +660,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 |