summaryrefslogtreecommitdiff
path: root/libdrm/nouveau/nouveau_bo.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-10-19 09:04:37 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-10-19 09:07:45 +1000
commitfdd960a95cca00b19d912a437a2ca3e69fee017e (patch)
tree38e87f89ac47328947f0a085c194205cce05e0a0 /libdrm/nouveau/nouveau_bo.h
parent3a387a983ec40cd443e22c1f8d9a6b5b5a8fa0d1 (diff)
nouveau: function to return status of bo being referenced in pushbuf
Will be used to implement gallium's is_{texture,buffer}_referenced() callbacks properly. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'libdrm/nouveau/nouveau_bo.h')
-rw-r--r--libdrm/nouveau/nouveau_bo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdrm/nouveau/nouveau_bo.h b/libdrm/nouveau/nouveau_bo.h
index 97ad2d7b..fdad63ef 100644
--- a/libdrm/nouveau/nouveau_bo.h
+++ b/libdrm/nouveau/nouveau_bo.h
@@ -106,4 +106,7 @@ nouveau_bo_unpin(struct nouveau_bo *);
int
nouveau_bo_busy(struct nouveau_bo *, uint32_t access);
+uint32_t
+nouveau_bo_pending(struct nouveau_bo *);
+
#endif