summaryrefslogtreecommitdiff
path: root/intel/intel_bufmgr_priv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-05-11 08:54:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-11 08:54:06 +0100
commit07e7589d86624e9c1ca4c38d00cf6886e1445ae2 (patch)
tree6c7bc3531b1aa444a414de4ebfd22f31fd6a5b16 /intel/intel_bufmgr_priv.h
parent7ca558494dd3f68f29bb6ca981de9b8f49620b60 (diff)
intel: query whether a buffer is reusable.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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 fb84e70f..f987d97a 100644
--- a/intel/intel_bufmgr_priv.h
+++ b/intel/intel_bufmgr_priv.h
@@ -247,6 +247,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
* synchronization can use the correct data in the request.