drm/i915: don't enumerate HDMID if an eDP panel is already active on the port
Subsystems (2)
PATCH 1/2 drm/i915: don't enumerate HDMID if an eDP panel is already active on the port
This prevents the HDMI detect functions from poking at an eDP connected panel, which can lead to trouble.
References: https://bugs.freedesktop.org/show_bug.cgi?id=42278
Signed-off-by Jesse Barnes <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -6531,7 +6531,7 @@ static void intel_setup_outputs(struct drm_device *dev)if (I915_READ (HDMIC ) &PORT_DETECTED )intel_hdmi_init (dev,HDMIC ); -if (I915_READ (HDMID ) &PORT_DETECTED ) +if (!dpd_is_edp &&I915_READ (HDMID ) &PORT_DETECTED )intel_hdmi_init (dev,HDMID );if (I915_READ (PCH_DP_C ) &DP_DETECTED )
Signature · 1 line
1.7.9.5
Daniel Vetter
AppliedQuoted 4 lines · Jesse Barnes
This prevents the HDMI detect functions from poking at an eDP connected panel, which can lead to trouble.
References: https://bugs.freedesktop.org/show_bug.cgi?id=42278
Signed-off-by Jesse Barnes <[email protected]>
Picked up for -fixes, thanks for the patch.
-Daniel
Signature · 3 lines
Daniel Vetter Mail: [email protected] Mobile: +41 (0)79 365 57 48