Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zehortigoza/baecabeb7097b9322723b6caf5a9ced5 to your computer and use it in GitHub Desktop.
Save zehortigoza/baecabeb7097b9322723b6caf5a9ced5 to your computer and use it in GitHub Desktop.
diff --git a/drivers/gpu/drm/i915/display/intel_hotplug.c b/drivers/gpu/drm/i915/display/intel_hotplug.c
index 3662966d366e..3a3e7e35cec3 100644
--- a/drivers/gpu/drm/i915/display/intel_hotplug.c
+++ b/drivers/gpu/drm/i915/display/intel_hotplug.c
@@ -388,8 +388,8 @@ static void i915_hotplug_work_func(struct work_struct *work)
intel_encoder = intel_connector->encoder;
hpd_bit = BIT(intel_encoder->hpd_pin);
if ((hpd_event_bits | hpd_retry_bits) & hpd_bit) {
- DRM_DEBUG_KMS("Connector %s (pin %i) received hotplug event.\n",
- connector->name, intel_encoder->hpd_pin);
+ DRM_DEBUG_KMS("Connector %s (pin %i) received hotplug event. Is retry? %i\n",
+ connector->name, intel_encoder->hpd_pin, !!(hpd_retry_bits & hpd_bit));
switch (intel_encoder->hotplug(intel_encoder,
intel_connector,
@@ -420,6 +420,7 @@ static void i915_hotplug_work_func(struct work_struct *work)
mod_delayed_work(system_wq, &dev_priv->hotplug.hotplug_work,
msecs_to_jiffies(HPD_RETRY_DELAY));
+ DRM_DEBUG_KMS("Hotplug retry scheduled\n");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment