diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-12 10:57:46 +0000 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-02-16 11:04:31 +0100 |
commit | e4aa4696a44b2bb571bf7ba56ccdff921e562205 (patch) | |
tree | 260025d6a9284d747ebc1a2ae92d49ed2db5add3 | |
parent | f7181ec00542fa7b7527111ed5e0f34790fa64cc (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>
(cherry picked from commit 6717b7579f84d05e45e7846d2b6e767760461709)
-rw-r--r-- | intel/intel_bufmgr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intel/intel_bufmgr.c b/intel/intel_bufmgr.c index f93a8707..b138e612 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, ring_flag); + if (ring_flag == 0) + return bo->bufmgr->bo_exec(bo, used, + cliprects, num_cliprects, DR4); + return -ENODEV; } |