From: Chris Wilson Date: Fri, 10 Jan 2014 20:17:07 +0000 (+0000) Subject: drm/i915: Include more information in disabled hotplug interrupt warning X-Git-Tag: MMI-PSA29.97-13-9~12830^2~16^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cba1c07377132fb87b2c73b395ef386da7e03f60;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915: Include more information in disabled hotplug interrupt warning Daniel thought that this was an opportune moment to include which pins and bits ended up being stuck in the WARN. Suggested-by: Daniel Vetter Signed-off-by: Chris Wilson Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 715f410c518c..d64da4fe36e5 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -1235,7 +1235,8 @@ static inline void intel_hpd_irq_handler(struct drm_device *dev, WARN_ONCE(hpd[i] & hotplug_trigger && dev_priv->hpd_stats[i].hpd_mark == HPD_DISABLED, - "Received HPD interrupt although disabled\n"); + "Received HPD interrupt (0x%08x) on pin %d (0x%08x) although disabled\n", + hotplug_trigger, i, hpd[i]); if (!(hpd[i] & hotplug_trigger) || dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED)