summaryrefslogtreecommitdiff
path: root/intel/intel_bufmgr_priv.h
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 /intel/intel_bufmgr_priv.h
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 'intel/intel_bufmgr_priv.h')
-rw-r--r--intel/intel_bufmgr_priv.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intel/intel_bufmgr_priv.h b/intel/intel_bufmgr_priv.h
index f987d97a..87e91e7f 100644
--- a/intel/intel_bufmgr_priv.h
+++ b/intel/intel_bufmgr_priv.h
@@ -173,6 +173,13 @@ struct _drm_intel_bufmgr {
drm_clip_rect_t *cliprects, int num_cliprects,
int DR4);
+ /** Executes the command buffer pointed to by bo on the selected
+ * ring buffer
+ */
+ int (*bo_mrb_exec) (drm_intel_bo *bo, int used,
+ drm_clip_rect_t *cliprects, int num_cliprects,
+ int DR4, int ring_flag);
+
/**
* Pin a buffer to the aperture and fix the offset until unpinned
*