summaryrefslogtreecommitdiff
path: root/src/sna/gen7_render.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-19 16:58:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-19 17:55:00 +0100
commit6f60f89588caa70e7d8ed53ba453bbe8c2094a95 (patch)
treec6dbfc88a8f2920e412d9cbd81fc68a24a7b84e8 /src/sna/gen7_render.c
parentfc39d4b5cb105d269c5349e479daf112f5d93580 (diff)
sna/gen6: Bump the WM thread count to 80
Note that we should only do this when "WiZ Hashing" is disabled. So we should be checking the GT_MODE register (bring on i915_read!) to be sure that is safe to do so. However, it gives a big boost to performance of render copies... It also causes perf benchmarks to hit thermal limits much quicker. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen7_render.c')
-rw-r--r--src/sna/gen7_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen7_render.c b/src/sna/gen7_render.c
index 18ba826d..c041d666 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -4268,7 +4268,7 @@ static bool gen7_render_setup(struct sna *sna)
state->info = &gt1_info;
if (DEVICE_ID(sna->PciInfo) & 0x20)
- state->info = &gt2_info;
+ state->info = &gt2_info; /* XXX requires GT_MODE WiZ disabled */
sna_static_stream_init(&general);