intel: Also handle mrb_exec fallback with ring == I915_EXEC_RENDER
Reported-by: Oliver McFadden <oliver.mcfadden@nokia.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>main
parent
5cb554a0d6
commit
f395b0a25c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue