summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-26 20:38:52 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-27 11:57:18 +0000
commit2054f43e4332e9d0ed61a0d643a1390dffff8d96 (patch)
treed2965a2b9873e392aa73cb50608d7c8d5d177dd4
parent235a3981ea9759317b392302a2b2b8f4fafab410 (diff)
sna/gen7: Prefer spans for GT2 desktop variants
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-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 b95399d5..45b2aec2 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -3794,7 +3794,7 @@ bool gen7_render_init(struct sna *sna)
#if !NO_COMPOSITE_SPANS
sna->render.check_composite_spans = gen7_check_composite_spans;
sna->render.composite_spans = gen7_render_composite_spans;
- if (is_mobile(sna))
+ if (is_mobile(sna) || is_gt2(sna))
sna->render.prefer_gpu |= PREFER_GPU_SPANS;
#endif
sna->render.video = gen7_render_video;