intel: Fallback to old exec if no mrb_exec is available
Reported-by: Torsten Hilbrich <torsten.hilbrich@secunet.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33016 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>main
parent
bad5242a59
commit
6717b7579f
|
@ -143,6 +143,10 @@ drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used,
|
||||||
cliprects, num_cliprects, DR4,
|
cliprects, num_cliprects, DR4,
|
||||||
rings);
|
rings);
|
||||||
|
|
||||||
|
if (ring_flag == 0)
|
||||||
|
return bo->bufmgr->bo_exec(bo, used,
|
||||||
|
cliprects, num_cliprects, DR4);
|
||||||
|
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue