From 07e7589d86624e9c1ca4c38d00cf6886e1445ae2 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 11 May 2010 08:54:06 +0100 Subject: intel: query whether a buffer is reusable. Signed-off-by: Chris Wilson --- 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 fb84e70f..f987d97a 100644 --- a/intel/intel_bufmgr_priv.h +++ b/intel/intel_bufmgr_priv.h @@ -246,6 +246,13 @@ struct _drm_intel_bufmgr { */ int (*bo_disable_reuse) (drm_intel_bo *bo); + /** + * Query whether a buffer is reusable. + * + * \param bo Buffer to query + */ + int (*bo_is_reusable) (drm_intel_bo *bo); + /** * * Return the pipe associated with a crtc_id so that vblank -- cgit v1.2.3