diff options
author | Brian <[email protected]> | 2008-01-14 16:39:26 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-14 16:39:26 -0700 |
commit | f20cb1d81b120c8de9b00e2fb523e2367b25e875 (patch) | |
tree | 9840a6e39c82fa066a2e021ca6f1d8c14fd794be /src/mesa/pipe/cell/common.h | |
parent | c28b112ce37022aa6e00ac4557ad6fe5a57ae578 (diff) |
Cell: after sending a batch, wait for a DMA completion signal.
This fixes sporadic rendering glitches.
Using a mailbox msg for now, until spe_mfcio_tag_status_read() or similar
is found to work.
Diffstat (limited to 'src/mesa/pipe/cell/common.h')
-rw-r--r-- | src/mesa/pipe/cell/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/common.h b/src/mesa/pipe/cell/common.h index 74b3d3cbeec..29d1cbeddad 100644 --- a/src/mesa/pipe/cell/common.h +++ b/src/mesa/pipe/cell/common.h @@ -65,6 +65,8 @@ #define CELL_NUM_BATCH_BUFFERS 2 #define CELL_BATCH_BUFFER_SIZE 1024 /**< 16KB would be the max */ +#define CELL_BATCH_FINISHED 0x1234 /**< mbox message */ + /** * Tell SPUs about the framebuffer size, location |