drm/i915: Print the long_mask alongside the pin_mask
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Jul 2018 16:43:57 +0000 (19:43 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Jul 2018 15:22:22 +0000 (18:22 +0300)
We're printing out which pins got a hotplug, so why not also print
out which pins detected the long pulse as opposed to a short pulse.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180705164357.28512-9-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_irq.c

index 6d80eb6b89985ecacfa0f2a270f3473e7dff2fc4..6975a169c4e4ad78515c38b85a99a61f5d3e857a 100644 (file)
@@ -1723,8 +1723,8 @@ static void intel_get_hpd_pins(struct drm_i915_private *dev_priv,
                        *long_mask |= BIT(pin);
        }
 
-       DRM_DEBUG_DRIVER("hotplug event received, stat 0x%08x, dig 0x%08x, pins 0x%08x\n",
-                        hotplug_trigger, dig_hotplug_reg, *pin_mask);
+       DRM_DEBUG_DRIVER("hotplug event received, stat 0x%08x, dig 0x%08x, pins 0x%08x, long 0x%08x\n",
+                        hotplug_trigger, dig_hotplug_reg, *pin_mask, *long_mask);
 
 }