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: submit/1.0/20121108.012404~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6717b7579f84d05e45e7846d2b6e767760461709;p=profile%2Fivi%2Flibdrm.git 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 b7c5c09..2546222 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; }