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: https://gitlab.freedesktop.org/drm/intel/-/issues/1864
Fixes: 3d5a1238af ("sna: Restore blt fallback backend")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
e781d43dad
commit
7181c5a41c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue