summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-10-05 16:14:11 -0400
committerJerome Glisse <jglisse@redhat.com>2010-10-05 17:04:25 -0400
commitea5a74fb5892c9b6ca62054be2ee83a743103f4c (patch)
tree1befd117a6322bb5eed3f7f1cf0cbb3d96f3d59a /src/gallium/drivers/r600/r600.h
parent3d6eec0a87ee5549e817cdabb4b6424960678189 (diff)
r600g: userspace fence to avoid kernel call for testing bo busy status
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 630177d6ad..24e25cec0d 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -233,6 +233,10 @@ struct r600_context {
u32 *pm4;
struct list_head query_list;
unsigned num_query_running;
+ unsigned fence;
+ struct list_head fenced_bo;
+ unsigned *cfence;
+ struct r600_bo *fence_bo;
};
struct r600_draw {