diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-16 11:39:20 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-12-16 11:39:20 +0000 |
commit | 9289e2c56b7f0cc78c5123691ad96611f0e04bed (patch) | |
tree | 49b9e59186d82b92ffee617ba883a218e18fa4d5 | |
parent | 660fbdac8da1f43749007f126201681023a677e1 (diff) |
sna/gen4: Sacrifice performance to workaround render corruption
The long running saga of trying to find an acceptable workaround for the
gen4 rendering corruption (seems to be a read-write hazard failure inside
the gpu) is failing, the only w/a found so far is to send a single
rectangle through the GPU at a time.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/gen4_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index a87af393..637137e7 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -63,7 +63,7 @@ #define NO_FILL_BOXES 0 #define NO_VIDEO 0 -#define MAX_FLUSH_VERTICES 6 +#define MAX_FLUSH_VERTICES 1 /* was 6, https://bugs.freedesktop.org/show_bug.cgi?id=55500 */ #define GEN4_GRF_BLOCKS(nreg) ((nreg + 15) / 16 - 1) |