r600g: fix cache flushes on r6xx
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 5 May 2011 07:17:16 +0000 (03:17 -0400)
committerDave Airlie <airlied@redhat.com>
Thu, 5 May 2011 22:07:12 +0000 (08:07 +1000)
commitd116fe51c1aee3453290ac30ffe993bc131c53f7
tree9e7190efade935dcca782140eb7b10032dc41b99
parenta041525ed9718a0f48f402a6161fafe857cc4ce4
r600g: fix cache flushes on r6xx

r6xx asics have some problems with the surface
sync logic for the CB and DB.  It's recommended
to use the event write interface for flushing
the DB/CB caches rather than the sync packets.
A single event write flush flushes all dst
caches, so we only need one for all CBs and DB.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=35312

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600.h
src/gallium/winsys/r600/drm/r600_hw_context.c