All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: Demote hangcheck ring idle warning
@ 2015-05-06  9:40 Mika Kuoppala
  2015-05-06 10:12 ` Chris Wilson
  2015-05-07  8:13 ` shuang.he
  0 siblings, 2 replies; 3+ messages in thread
From: Mika Kuoppala @ 2015-05-06  9:40 UTC (permalink / raw)
  To: intel-gfx

Currently we have race between request->list addition
and hangcheck inspecting that list. It leads to hangcheck
concluding that ring is idle, even if its not.

Demote the error to a info message until the issue with
race is fixed.

References: https://bugs.freedesktop.org/show_bug.cgi?id=89493
References: http://lists.freedesktop.org/archives/intel-gfx/2015-February/060545.html
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
---
 drivers/gpu/drm/i915/i915_irq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 9da955e..b0fec20 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -2925,8 +2925,8 @@ static void i915_hangcheck_elapsed(struct work_struct *work)
 					/* Issue a wake-up to catch stuck h/w. */
 					if (!test_and_set_bit(ring->id, &dev_priv->gpu_error.missed_irq_rings)) {
 						if (!(dev_priv->gpu_error.test_irq_rings & intel_ring_flag(ring)))
-							DRM_ERROR("Hangcheck timer elapsed... %s idle\n",
-								  ring->name);
+							DRM_INFO("Hangcheck timer elapsed... %s idle\n",
+								 ring->name);
 						else
 							DRM_INFO("Fake missed irq on %s\n",
 								 ring->name);
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: Demote hangcheck ring idle warning
  2015-05-06  9:40 [PATCH] drm/i915: Demote hangcheck ring idle warning Mika Kuoppala
@ 2015-05-06 10:12 ` Chris Wilson
  2015-05-07  8:13 ` shuang.he
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Wilson @ 2015-05-06 10:12 UTC (permalink / raw)
  To: Mika Kuoppala; +Cc: intel-gfx

On Wed, May 06, 2015 at 12:40:40PM +0300, Mika Kuoppala wrote:
> Currently we have race between request->list addition
> and hangcheck inspecting that list. It leads to hangcheck
> concluding that ring is idle, even if its not.
> 
> Demote the error to a info message until the issue with
> race is fixed.
> 
> References: https://bugs.freedesktop.org/show_bug.cgi?id=89493
> References: http://lists.freedesktop.org/archives/intel-gfx/2015-February/060545.html
> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>

Should be KERN_NOTICE. In the real case at least, it is an error, but we
have an adequate workaround.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/i915: Demote hangcheck ring idle warning
  2015-05-06  9:40 [PATCH] drm/i915: Demote hangcheck ring idle warning Mika Kuoppala
  2015-05-06 10:12 ` Chris Wilson
@ 2015-05-07  8:13 ` shuang.he
  1 sibling, 0 replies; 3+ messages in thread
From: shuang.he @ 2015-05-07  8:13 UTC (permalink / raw)
  To: shuang.he, ethan.gao, intel-gfx, mika.kuoppala

Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
Task id: 6325
-------------------------------------Summary-------------------------------------
Platform          Delta          drm-intel-nightly          Series Applied
PNV                                  276/276              276/276
ILK                                  302/302              302/302
SNB                                  316/316              316/316
IVB                                  342/342              342/342
BYT                                  286/286              286/286
BDW                                  321/321              321/321
-------------------------------------Detailed-------------------------------------
Platform  Test                                drm-intel-nightly          Series Applied
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-07  8:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-06  9:40 [PATCH] drm/i915: Demote hangcheck ring idle warning Mika Kuoppala
2015-05-06 10:12 ` Chris Wilson
2015-05-07  8:13 ` shuang.he

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.