From: Chris Wilson Date: Wed, 12 Jan 2011 10:57:46 +0000 (+0000) Subject: intel: Fallback to old exec if no mrb_exec is available X-Git-Tag: android-x86-4.4-r1~445 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fexternal-libdrm.git;a=commitdiff_plain;h=6717b7579f84d05e45e7846d2b6e767760461709 intel: Fallback to old exec if no mrb_exec is available Reported-by: Torsten Hilbrich Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33016 Signed-off-by: Chris Wilson --- diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c index b7c5c091..25462220 100644 --- a/intel/intel_bufmgr.c +++ b/intel/intel_bufmgr.c @@ -143,6 +143,10 @@ drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used, cliprects, num_cliprects, DR4, rings); + if (ring_flag == 0) + return bo->bufmgr->bo_exec(bo, used, + cliprects, num_cliprects, DR4); + return -ENODEV; }