sna/gen6: Tweak flush around CC state changes
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Oct 2013 13:35:59 +0000 (13:35 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Oct 2013 13:37:51 +0000 (13:37 +0000)
commit82e6d41c2f4f343bd1854d3d8ee4b624b5d68971
tree99d82a3deafc6606049f29a28f733d8f1c334193
parent5cdc2bbc9c66d4c8c6fdb1b552c32177d070bf7b
sna/gen6: Tweak flush around CC state changes

In order to fix some font corruption, it appears that we need an extra
flush in the Sandybridge pipeline when we change the CC stage and the
render cache is dirty. We previously triggered a full pipeline stall
for this case.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/gen6_render.c