aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZou Nan hai2010-06-01 21:07:37 -0500
committerEric Anholt2010-06-06 17:50:38 -0500
commit66375fd6e8d3e95df5d124883a1426460c1b8ed8 (patch)
treeaf6a61e13d0f5ff0ea08f0e7b9cb10751abc418b /include/drm
parent73a42a645201a85ce2fe4fc77754df67e5097fc9 (diff)
downloadexternal-libgbm-66375fd6e8d3e95df5d124883a1426460c1b8ed8.tar.gz
external-libgbm-66375fd6e8d3e95df5d124883a1426460c1b8ed8.tar.xz
external-libgbm-66375fd6e8d3e95df5d124883a1426460c1b8ed8.zip
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 {
275#define I915_PARAM_HAS_OVERLAY 7 275#define I915_PARAM_HAS_OVERLAY 7
276#define I915_PARAM_HAS_PAGEFLIPPING 8 276#define I915_PARAM_HAS_PAGEFLIPPING 8
277#define I915_PARAM_HAS_EXECBUF2 9 277#define I915_PARAM_HAS_EXECBUF2 9
278#define I915_PARAM_HAS_BSD 10
278 279
279typedef struct drm_i915_getparam { 280typedef struct drm_i915_getparam {
280 int param; 281 int param;
@@ -616,7 +617,9 @@ struct drm_i915_gem_execbuffer2 {
616 __u32 num_cliprects; 617 __u32 num_cliprects;
617 /** This is a struct drm_clip_rect *cliprects */ 618 /** This is a struct drm_clip_rect *cliprects */
618 __u64 cliprects_ptr; 619 __u64 cliprects_ptr;
619 __u64 flags; /* currently unused */ 620#define I915_EXEC_RENDER (1 << 0)
621#define I915_EXEC_BSD (1 << 1)
622 __u64 flags;
620 __u64 rsvd1; 623 __u64 rsvd1;
621 __u64 rsvd2; 624 __u64 rsvd2;
622}; 625};