drm/i915: tune down hangcheck noise
Subsystems (2)
PATCH 1/1 drm/i915: tune down hangcheck noise
We already have a big splashing *ERROR* for all the relevant cases of hangs, so this one here is redudant. And it results in an unclean dmesg when running with simulated hangs. Regression has been introduced in
commit 05407ff889ceebe383aa5907219f86582ef96b72
Author: Mika Kuoppala <[email protected]> Date: Thu May 30 09:04:29 2013 +0300
drm/i915: detect hang using per ring hangcheck_score
Cc: Mika Kuoppala <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68641
--- drivers/gpu/drm/i915/i915_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +3 -3
@@ -2027,9 +2027,9 @@ static void i915_hangcheck_elapsed(unsigned long data)for_each_ring (ring, dev_priv, i) {if (ring->hangcheck.score >FIRE ) { -DRM_ERROR ("%s on %s\n" , - stuck[i] ?"stuck" :"no progress" , - ring->name); +DRM_INFO ("%s on %s\n" , + stuck[i] ?"stuck" :"no progress" , + ring->name); rings_hung++; } }
Signature · 1 line
1.8.4.rc3
Hi
2013/8/28 Daniel Vetter <[email protected]>:
Quoted 4 lines
We already have a big splashing *ERROR* for all the relevant cases of hangs, so this one here is redudant. And it results in an unclean dmesg when running with simulated hangs. Regression has been introduced in
Bug https://bugs.freedesktop.org/show_bug.cgi?id=69747 has a case where despite the messages, there's no splashing *ERROR* (except for an unclaimed-register message which should be ignored in this specific case since it can be fixed without fixing the GPU hang). As a consequence, QA reported the bug mentioning just the "unclaimed regsiter" message, not the real GPU hang, while the unclaimed register is just a consequence of the real GPU hang. ZZ_check_dmesg wouldn't catch this specific bug if we didn't have the unclaimed register problem. If the same bug happens on IVB we'll never know because we won't have the "unclaimed register" message to point it.
Quoted 38 lines
commit
05407ff889ceebe383aa5907219f86582ef96b72Author: Mika Kuoppala <[email protected]> Date: Thu May 30 09:04:29 2013 +0300drm/i915: detect hang using per ring
hangcheck_scoreCc: Mika Kuoppala <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68641Signed-off-by Daniel Vetter <[email protected]>--- drivers/gpu/drm/i915/i915_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_irq.c +3
-4@@ -2027,9 +2027,9 @@ static void i915_hangcheck_elapsed(unsigned long data)for_each_ring (ring, dev_priv, i) {if (ring->hangcheck.score >FIRE ) { -DRM_ERROR ("%s on %s\n" , - stuck[i] ?"stuck" :"no progress" , - ring->name); +DRM_INFO ("%s on %s\n" , + stuck[i] ?"stuck" :"no progress" , + ring->name); rings_hung++; } } --1.8.4.rc3
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Paulo Zanoni
Quoted 6 lines · Paulo Zanoni
2013/8/28 Daniel Vetter <[email protected]>:
Quoted 4 lines
We already have a big splashing *ERROR* for all the relevant cases of hangs, so this one here is redudant. And it results in an unclean dmesg when running with simulated hangs. Regression has been introduced in
Quoted 10 lines
Bug https://bugs.freedesktop.org/show_bug.cgi?id=69747 has a case where despite the messages, there's no splashing *ERROR* (except for an unclaimed-register message which should be ignored in this specific case since it can be fixed without fixing the GPU hang). As a consequence, QA reported the bug mentioning just the "unclaimed regsiter" message, not the real GPU hang, while the unclaimed register is just a consequence of the real GPU hang.
ZZ_check_dmesgwouldn't catch this specific bug if we didn't have the unclaimed register problem. If the same bug happens on IVB we'll never know because we won't have the "unclaimed register" message to point it.
This is just a testcase that uses a simulated gpu hang, so the hang message is tuned down from ERROR to the info level. So the only real bug is indeed the unclaimed register writes.
-Daniel
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 6 lines · Daniel Vetter
We already have a big splashing *ERROR* for all the relevant cases of hangs, so this one here is redudant. And it results in an unclean dmesg when running with simulated hangs. Regression has been introduced in
commit
05407ff889ceebe383aa5907219f86582ef96b72
Quoted 8 lines
Author: Mika Kuoppala <[email protected]> Date: Thu May 30 09:04:29 2013 +0300drm/i915: detect hang using per ring
hangcheck_scoreCc: Mika Kuoppala <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68641Signed-off-by Daniel Vetter <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/i915/i915_irq.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/i915_irq.c +3
-3@@ -2027,9 +2027,9 @@ static void i915_hangcheck_elapsed(unsigned long data)for_each_ring (ring, dev_priv, i) {if (ring->hangcheck.score >FIRE ) { -DRM_ERROR ("%s on %s\n" , - stuck[i] ?"stuck" :"no progress" , - ring->name); +DRM_INFO ("%s on %s\n" , + stuck[i] ?"stuck" :"no progress" , + ring->name); rings_hung++; } }Signature · 1 line
1.8.4.rc3
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch