summaryrefslogtreecommitdiff
path: root/intel/intel_bufmgr.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-01-12 10:57:46 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-01-12 11:00:13 +0000
commit6717b7579f84d05e45e7846d2b6e767760461709 (patch)
tree4056d9d5a5413c18a9cd5f03b197a87611630761 /intel/intel_bufmgr.c
parentbad5242a59aa8e31cf10749e2ac69b3c66ef7da0 (diff)
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>
Diffstat (limited to 'intel/intel_bufmgr.c')
-rw-r--r--intel/intel_bufmgr.c4
1 files changed, 4 insertions, 0 deletions
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;
}