From 66375fd6e8d3e95df5d124883a1426460c1b8ed8 Mon Sep 17 00:00:00 2001 From: Zou Nan hai Date: Wed, 2 Jun 2010 10:07:37 +0800 Subject: 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 Signed-off-by: Zou Nan hai --- intel/intel_bufmgr_priv.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'intel/intel_bufmgr_priv.h') 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 * -- cgit v1.2.3