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
Chris Wilson 2011-01-12 10:57:46 +00:00
parent bad5242a59
commit 6717b7579f
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }