Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cba1c073 authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter
Browse files

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: default avatarDaniel Vetter <daniel@ffwll.ch>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 8b5565b8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1235,7 +1235,8 @@ static inline void intel_hpd_irq_handler(struct drm_device *dev,


		WARN_ONCE(hpd[i] & hotplug_trigger &&
		WARN_ONCE(hpd[i] & hotplug_trigger &&
			  dev_priv->hpd_stats[i].hpd_mark == HPD_DISABLED,
			  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) ||
		if (!(hpd[i] & hotplug_trigger) ||
		    dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED)
		    dev_priv->hpd_stats[i].hpd_mark != HPD_ENABLED)