diff options
author | Thomas White <taw@bitwiz.org.uk> | 2009-08-20 17:28:49 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2009-08-20 17:28:49 +0100 |
commit | 894dd4fad0fc9365dafb183527f95809fe585ccf (patch) | |
tree | 4d5cbee7602a40bed1f6e76265dddde648671cd5 /src/glamo.h | |
parent | 3935ce27071cb70ae58c81c928c1726f6f6f7c53 (diff) |
EXA synchronisation stuff
Diffstat (limited to 'src/glamo.h')
-rw-r--r-- | src/glamo.h | 7 |
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; |