aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/sid.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2013-08-16 17:38:40 -0400
committerMarek Olšák <[email protected]>2013-08-17 01:48:25 +0200
commit764502b481e2288cb5e751de739253fdee886e3e (patch)
tree3c34be18c5c978591497f76777b669f86574ea7c /src/gallium/drivers/radeonsi/sid.h
parente29931aa7423209d29a23be2ad754abb0f79315e (diff)
radeonsi/compute: Let the state tracker do all the flushing
It shouldn't be necessary to call radeon_winsys::cs_flush() from radeonsi_launch_grid(), because the state tracker is responsible for flushing the pipeline at the appropriate time. The current behavior is also wrong, because radeonsi_launch_grid() submits packets to the compute ring, but when the state tracker calls pipe->flush() everything is submitted to the graphics ring. This has the potential to create a race condition. The downside of removing this flush is that the compute dispatch packets will be sent to the graphics ring rather than the compute ring. In the future we will need to come up with a way to detect 'compute' command streams and submit them to the appropriate ring. Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/sid.h')
0 files changed, 0 insertions, 0 deletions