summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorZou Nan hai <nanhai.zou@intel.com>2010-06-02 10:07:37 +0800
committerEric Anholt <eric@anholt.net>2010-06-06 15:50:38 -0700
commit66375fd6e8d3e95df5d124883a1426460c1b8ed8 (patch)
treeaf6a61e13d0f5ff0ea08f0e7b9cb10751abc418b /include/drm
parent73a42a645201a85ce2fe4fc77754df67e5097fc9 (diff)
intel: Add support for kernel multi-ringbuffer API.
This introduces a new API to exec on BSD ring buffer, for H.264 VLD decoding. Signed-off-by: Xiang Hai hao <haihao.xiang@intel.com> Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/i915_drm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h
index c8cb3a67..c040afac 100644
--- a/include/drm/i915_drm.h
+++ b/include/drm/i915_drm.h
@@ -275,6 +275,7 @@ typedef struct drm_i915_irq_wait {
#define I915_PARAM_HAS_OVERLAY 7
#define I915_PARAM_HAS_PAGEFLIPPING 8
#define I915_PARAM_HAS_EXECBUF2 9
+#define I915_PARAM_HAS_BSD 10
typedef struct drm_i915_getparam {
int param;
@@ -616,7 +617,9 @@ struct drm_i915_gem_execbuffer2 {
__u32 num_cliprects;
/** This is a struct drm_clip_rect *cliprects */
__u64 cliprects_ptr;
- __u64 flags; /* currently unused */
+#define I915_EXEC_RENDER (1 << 0)
+#define I915_EXEC_BSD (1 << 1)
+ __u64 flags;
__u64 rsvd1;
__u64 rsvd2;
};