From fdd960a95cca00b19d912a437a2ca3e69fee017e Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Mon, 19 Oct 2009 09:04:37 +1000 Subject: 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 --- libdrm/nouveau/nouveau_bo.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libdrm/nouveau/nouveau_bo.h') 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 -- cgit v1.2.3