From 6717b7579f84d05e45e7846d2b6e767760461709 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 12 Jan 2011 10:57:46 +0000 Subject: [PATCH] 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 --- intel/intel_bufmgr.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.11.0