projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bbf84
)
drm/i915: Don't ERROR for an expected intel_rcs_ctx_init() interruption
author
Chris Wilson
<
[email protected]
>
Fri, 29 Jan 2016 16:49:05 +0000
(16:49 +0000)
committer
Daniel Vetter
<
[email protected]
>
Mon, 15 Feb 2016 09:48:08 +0000
(10:48 +0100)
intel_rcs_ctx_init() can be interrupted by a signal (if it has to wait
upon a full ring to advance). Don't emit an error for this.
Testcase: igt/gem_concurrent_blit
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: Tvrtko Ursulin <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_ringbuffer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 133321a5b3d0799ce74bc7999370558c6bf5a353..45ce45a5e122046047b2fadc75f5f6f89f34c379 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/
drivers/gpu/drm/i915/intel_ringbuffer.c
@@
-746,9
+746,9
@@
static int intel_rcs_ctx_init(struct drm_i915_gem_request *req)
ret = i915_gem_render_state_init(req);
if (ret)
-
DRM_ERROR("init render state: %d\n", ret)
;
+
return ret
;
- return
ret
;
+ return
0
;
}
static int wa_add(struct drm_i915_private *dev_priv,