diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-01-10 15:17:07 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-10 16:27:18 -0500 |
commit | cba1c07377132fb87b2c73b395ef386da7e03f60 (patch) | |
tree | 384206dbd3d861438028bc18456a4eea6baa7e0b | |
parent | 8b5565b878ea7017db3ebb446f0086e0a5354566 (diff) |
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 <daniel@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/i915_irq.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
1235 | 1235 | ||
1236 | WARN_ONCE(hpd[i] & hotplug_trigger && | 1236 | WARN_ONCE(hpd[i] & hotplug_trigger && |
1237 | dev_priv->hpd_stats[i].hpd_mark == HPD_DISABLED, | 1237 | dev_priv->hpd_stats[i].hpd_mark == HPD_DISABLED, |
1238 | "Received HPD interrupt although disabled\n"); | 1238 | "Received HPD interrupt (0x%08x) on pin %d (0x%08x) although disabled\n", |
1239 | hotplug_trigger, i, hpd[i]); | ||
1239 | 1240 | ||
1240 | if (!(hpd[i] & hotplug_trigger) || | 1241 | if (!(hpd[i] & hotplug_trigger) || |
1241 | dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED) | 1242 | dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED) |