summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-07-28 12:10:23 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-28 14:51:51 +0100
commitd92b5ddcff03a593270d060187b56ee2aa8e09b3 (patch)
treedc3c12c1185f86a8ce9a0485a9a51f106e640086 /src
parent0b68f1741fe360b0ba10421866aed8fffeea44e7 (diff)
sna/gen7: Prefer GPU spans for Baytrail as well
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-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 fbe42d73..3a18f8e6 100644
--- a/src/sna/gen7_render.c
+++ b/src/sna/gen7_render.c
@@ -3868,7 +3868,7 @@ const char *gen7_render_init(struct sna *sna, const char *backend)
#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) || is_gt2(sna))
+ if (is_mobile(sna) || is_gt2(sna) || is_byt(sna))
sna->render.prefer_gpu |= PREFER_GPU_SPANS;
#endif
sna->render.video = gen7_render_video;