drm/i915: Don't bail out early on i915_handle_error
Subsystems (2)
PATCH 1/1 drm/i915: Don't bail out early on i915_handle_error
If we bail out from handling the error, we never wake up the waiters, resulting in a stuck processes.
This regression was introduced in:
commit b8d24a06568368076ebd5a858a011699a97bfa42
Author: Mika Kuoppala <[email protected]> Date: Wed Jan 28 17:03:14 2015 +0200
drm/i915: Remove nested work in gpu error handling
References: https://bugs.freedesktop.org/show_bug.cgi?id=88933
--- drivers/gpu/drm/i915/i915_irq.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +0 -3
@@ -2612,9 +2612,6 @@ void i915_handle_error(struct drm_device *dev, bool wedged,va_list args;char error_msg[80 ]; -if (WARN_ON (mutex_is_locked (&dev_priv->dev->struct_mutex))) -return ; -va_start (args, fmt);vscnprintf (error_msg,sizeof (error_msg), fmt, args);va_end (args);
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Mika Kuoppala
If we bail out from handling the error, we never wake up the waiters, resulting in a stuck processes.
This regression was introduced in:
Quoted 8 lines
commit
b8d24a06568368076ebd5a858a011699a97bfa42Author: Mika Kuoppala <[email protected]> Date: Wed Jan 28 17:03:14 2015 +0200drm/i915: Remove nested work in gpu error handling
References: https://bugs.freedesktop.org/show_bug.cgi?id=88933
Signed-off-by Mika Kuoppala <[email protected]>
I was hoping you would also try to think of another way to detect the race you postulated... :)
-Chris
Signature · 5 lines
Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 5 lines · Mika Kuoppala
If we bail out from handling the error, we never wake up the waiters, resulting in a stuck processes.
This regression was introduced in:
Quoted 7 lines
commit
b8d24a06568368076ebd5a858a011699a97bfa42Author: Mika Kuoppala <[email protected]> Date: Wed Jan 28 17:03:14 2015 +0200drm/i915: Remove nested work in gpu error handling
References: https://bugs.freedesktop.org/show_bug.cgi?id=88933
Mika, please check and follow up with these bugs as well, and dupe as necessary. All bisected to the same.
https://bugs.freedesktop.org/show_bug.cgi?id=88654
https://bugs.freedesktop.org/show_bug.cgi?id=88928
https://bugs.freedesktop.org/show_bug.cgi?id=88915
https://bugs.freedesktop.org/show_bug.cgi?id=88908
BR,
Jani.
Quoted 26 lines
Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/i915/i915_irq.c | 3 --- 1 file changed, 3 deletions(-)drivers/gpu/drm/i915/i915_irq.c +0
-3@@ -2612,9 +2612,6 @@ void i915_handle_error(struct drm_device *dev, bool wedged,va_list args;char error_msg[80 ]; -if (WARN_ON (mutex_is_locked (&dev_priv->dev->struct_mutex))) -return ; -va_start (args, fmt);vscnprintf (error_msg,sizeof (error_msg), fmt, args);va_end (args);Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 5702 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV 283/283 283/283
ILK -1 319/319 318/319
SNB +1-1 322/346 322/346 IVB +1-1 382/384 382/384 BYT 296/296 296/296 HSW +1 425/428 426/428 BDW -1 319/333 318/333 -------------------------------------Detailed------------------------------------- Platform Test drm-intel-nightly Series Applied ILK igt_gem_unfence_active_buffers DMESG_WARN(1, M37)PASS(3, M26) DMESG_WARN(1, M37) *SNB igt_kms_flip_event_leak NSPT(7, M35M22) PASS(1, M35) *SNB igt_kms_flip_single-buffer-flip-vs-dpms-off-vs-modeset PASS(2, M35) NSPT(1, M35) *IVB igt_gem_pwrite_pread_snooped-copy-performance PASS(3, M34) DMESG_WARN(1, M34) IVB igt_gem_pwrite_pread_snooped-pwrite-blt-cpu_mmap-performance DMESG_WARN(11, M34M21)PASS(10, M4M34) PASS(1, M34) HSW igt_gem_pwrite_pread_snooped-pwrite-blt-cpu_mmap-performance DMESG_WARN(3, M40)PASS(24, M40M20) PASS(1, M40) *BDW igt_gem_fence_thrash_bo-write-verify-threaded-none PASS(3, M30) DMESG_WARN(1, M30)
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx