radeonsi: don't use SQC_CACHES to flush ICACHE and KCACHE on SI
authorMarek Olšák <marek.olsak@amd.com>
Thu, 19 Feb 2015 12:03:54 +0000 (13:03 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 20 Feb 2015 11:06:22 +0000 (12:06 +0100)
commit7692704b144b2aa9a57767a43212ceb5aad6638a
treeefb7f45edeb8f120de0943980c6117db51e47729
parent2a06728ba0da5e4175843b1b53919d6167ca0aea
radeonsi: don't use SQC_CACHES to flush ICACHE and KCACHE on SI

This reverts 73c2b0d18c51459697d8ec194ecfc4438c98c139.

It doesn't seem to be reliable. It's probably missing a wait packet or
something, because it's just a register write and doesn't wait for anything.
SURFACE_SYNC at least seems to wait until the flush is done. Just guessing.

Let's not complicate things and revert this.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88561

Cc: 10.5 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c