Cell: improve "finished copying batch buffer" signalling.
authorBrian <brian.paul@tungstengraphics.com>
Sat, 19 Jan 2008 19:04:06 +0000 (12:04 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 19 Jan 2008 19:04:06 +0000 (12:04 -0700)
commita1f4a5e802ad62c88fca6834b9de1c83672230a6
tree79f89f370a4d2b8197f313fe4ea7d081e386a916
parent06b019d16bc20d772a8aed2a68d1c5d37a402a81
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.
src/mesa/pipe/cell/common.h
src/mesa/pipe/cell/ppu/cell_batch.c
src/mesa/pipe/cell/ppu/cell_context.c
src/mesa/pipe/cell/ppu/cell_context.h
src/mesa/pipe/cell/ppu/cell_spu.c
src/mesa/pipe/cell/spu/spu_main.c
src/mesa/pipe/cell/spu/spu_main.h