Skip to contentSkip to conversation

drm/i915: Fake HDMI live status

PATCH Superseded Shashank Sharma 1 participant 1 message Apr 21, 2016

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Fake HDMI live status

This patch does the following:
- Fakes live status of HDMI as connected (even if that's not). While testing certain (monitor + cable) combinations with various intel platforms, it seems that live status register doesn't work reliably on some older devices. So limit the live_status check for HDMI detection, only for platforms from gen7 onwards.

This fixes regression added by patch:
'commit 237ed86c693d ("drm/i915: Check live status before reading edid")'

Based on suggestion by: Ville Syrjala<[email protected]>

---
 drivers/gpu/drm/i915/intel_hdmi.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_hdmi.c +4 -2
index b199ede..1890f6e 100644
@@ -1412,8 +1412,10 @@ intel_hdmi_detect(struct drm_connector *connector, bool force)
 				hdmi_to_dig_port(intel_hdmi));
 	}
 
-	if (!live_status)
-		DRM_DEBUG_KMS("Live status not up!");
+	if (!live_status) {
+		DRM_DEBUG_KMS("Warning: live status not up, faking it\n");
+		live_status = true;
+	}
 
 	intel_hdmi_unset_edid(connector);
 
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx