diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-19 12:04:06 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-19 12:04:06 -0700 |
commit | a1f4a5e802ad62c88fca6834b9de1c83672230a6 (patch) | |
tree | 79f89f370a4d2b8197f313fe4ea7d081e386a916 /src/mesa/pipe/cell/spu/spu_main.h | |
parent | 06b019d16bc20d772a8aed2a68d1c5d37a402a81 (diff) |
Cell: improve "finished copying batch buffer" signalling.
When the SPU is done copying a batch buffer to local store, use an mfc_put()
to write a "done" message back to the buffer status array in main memory.
We were previously using a mailbox message for synchronization.
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_main.h')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_main.h b/src/mesa/pipe/cell/spu/spu_main.h index 75fb5b388b..f39f375d24 100644 --- a/src/mesa/pipe/cell/spu/spu_main.h +++ b/src/mesa/pipe/cell/spu/spu_main.h @@ -76,6 +76,8 @@ extern struct spu_global spu; #define TAG_WRITE_TILE_Z 15 #define TAG_INDEX_BUFFER 16 #define TAG_BATCH_BUFFER 17 +#define TAG_MISC 18 + /** The standard assert macro doesn't seem to work on SPUs */ #define ASSERT(x) \ |