Cell: after sending a batch, wait for a DMA completion signal.
authorBrian <brian.paul@tungstengraphics.com>
Mon, 14 Jan 2008 23:39:26 +0000 (16:39 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 14 Jan 2008 23:39:26 +0000 (16:39 -0700)
commitf20cb1d81b120c8de9b00e2fb523e2367b25e875
tree9840a6e39c82fa066a2e021ca6f1d8c14fd794be
parentc28b112ce37022aa6e00ac4557ad6fe5a57ae578
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.
src/mesa/pipe/cell/common.h
src/mesa/pipe/cell/ppu/cell_batch.c
src/mesa/pipe/cell/spu/spu_main.c
src/mesa/pipe/cell/spu/spu_tile.c