projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cb554a
)
intel: Also handle mrb_exec fallback with ring == I915_EXEC_RENDER
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 4 Apr 2011 07:57:42 +0000
(08:57 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 4 Apr 2011 07:59:39 +0000
(08:59 +0100)
Reported-by: Oliver McFadden <oliver.mcfadden@nokia.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
intel/intel_bufmgr.c
patch
|
blob
|
history
diff --git
a/intel/intel_bufmgr.c
b/intel/intel_bufmgr.c
index
e949ff2
..
2df93a5
100644
(file)
--- a/
intel/intel_bufmgr.c
+++ b/
intel/intel_bufmgr.c
@@
-143,11
+143,14
@@
drm_intel_bo_mrb_exec(drm_intel_bo *bo, int used,
cliprects, num_cliprects, DR4,
rings);
- if (rings == 0)
+ switch (rings) {
+ case I915_EXEC_DEFAULT:
+ case I915_EXEC_RENDER:
return bo->bufmgr->bo_exec(bo, used,
cliprects, num_cliprects, DR4);
-
- return -ENODEV;
+ default:
+ return -ENODEV;
+ }
}
void drm_intel_bufmgr_set_debug(drm_intel_bufmgr *bufmgr, int enable_debug)