summaryrefslogtreecommitdiff
path: root/src/sna/sna_render.h
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/sna_render.h
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/sna_render.h')
-rw-r--r--src/sna/sna_render.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna_render.h b/src/sna/sna_render.h
index f0f4a2d1..5662a791 100644
--- a/src/sna/sna_render.h
+++ b/src/sna/sna_render.h
@@ -388,6 +388,7 @@ enum {
};
struct gen6_render_state {
+ const struct gt_info *info;
struct kgem_bo *general_bo;
uint32_t vs_state;