summaryrefslogtreecommitdiff
path: root/src/glamo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamo.h')
-rw-r--r--src/glamo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glamo.h b/src/glamo.h
index 531c719..d335ce3 100644
--- a/src/glamo.h
+++ b/src/glamo.h
@@ -75,6 +75,9 @@ MMIO_IN16(__volatile__ void *base, const unsigned long offset)
#endif
+/* The number of EXA wait markers which can be active at once */
+#define NUM_EXA_BUFFER_MARKERS 32
+
typedef volatile CARD16 VOL16;
typedef struct _MemBuf {
@@ -114,6 +117,10 @@ typedef struct {
int cmdq_obj_used;
uint32_t *cmdq_objs;
unsigned int *cmdq_obj_pos;
+ struct glamo_bo *last_buffer_object; /* The last buffer object
+ * referenced in the cmdq */
+ struct glamo_bo *exa_buffer_markers[NUM_EXA_BUFFER_MARKERS];
+ unsigned int exa_marker_index; /* Index into exa_buffer_markers */
/* What was GLAMOCardInfo */
volatile char *reg_base;