Commit 7181c5a4 authored by Chris Wilson's avatar Chris Wilson 🤔

sna: Avoid selecting gen9 backend for future gen

Cannonlake, then Icelake introduce new instruction formats and state
command, and require a new render backend to be written. Avoid selecting
the gen9 backend as this will hang!

Closes: drm/intel#1864
Fixes: 3d5a1238 ("sna: Restore blt fallback backend")
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
parent e781d43d
......@@ -18242,6 +18242,8 @@ bool sna_accel_init(ScreenPtr screen, struct sna *sna)
sna_render_mark_wedged(sna);
} else if (sna_option_accel_blt(sna))
(void)backend;
else if (sna->kgem.gen >= 0120)
(void)backend; /* no render backend written yet */
else if (sna->kgem.gen >= 0110)
backend = gen9_render_init(sna, backend);
else if (sna->kgem.gen >= 0100)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment