r600g: r6xx deadlock workaround (v6)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Feb 2013 22:04:43 +0000 (17:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Feb 2013 23:23:46 +0000 (18:23 -0500)
commit8442b67f5f3aedbfdb4446164dd09d4eaeda4888
tree89bd64e2115547c4af975e6fa269b274d2a368d1
parent7ebf83f109db9dde89830d5844107c936cf42e4d
r600g: r6xx deadlock workaround (v6)

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=50655
https://bugs.freedesktop.org/show_bug.cgi?id=47116

v2: flush along with workaround.
v3: just need a flush
v4: try WAIT_UNTIL
v5: switch to PS partial flush
v6: rework patch

Note: this is a candidate for the 9.1 branch.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_state_common.c