summaryrefslogtreecommitdiff
path: root/src/sna/sna_accel.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-06 22:11:32 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-12-11 21:39:40 +0000
commite017542d10e875260e3eef1b0369f4ea106df0f5 (patch)
tree577bf674cb2431a38d938c3e49f7d371ae6bcb30 /src/sna/sna_accel.c
parent610af0c70e755062b36ba9756fbc4288518b7c35 (diff)
sna/gen8: Initial backend for Broadwell
Should match the functionality of the earlier generations, but untuned. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_accel.c')
-rw-r--r--src/sna/sna_accel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index f7da0984..5df49b3e 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -16813,8 +16813,10 @@ bool sna_accel_init(ScreenPtr screen, struct sna *sna)
if (sna_option_accel_none(sna)) {
backend = "disabled";
sna->kgem.wedged = true;
- } else if (sna_option_accel_blt(sna) || sna->info->gen >= 0100)
+ } else if (sna_option_accel_blt(sna) || sna->info->gen >= 0110)
(void)backend;
+ else if (sna->info->gen >= 0100)
+ backend = gen8_render_init(sna, backend);
else if (sna->info->gen >= 070)
backend = gen7_render_init(sna, backend);
else if (sna->info->gen >= 060)