]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/i915/hpd: Fix mtp_tc_hpd_enable_detection()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 2 Sep 2025 15:39:15 +0000 (18:39 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 5 Sep 2025 11:37:32 +0000 (14:37 +0300)
Set the MTP TC hotplug bits in the correct register.

Shouldn't matter really as this only gets used for eDP
detection and there should be never eDP on TC ports on
current hw.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250902153915.4423-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_hotplug_irq.c

index 43aee70597bf275285a5f07b130d7dc2e8367226..4f72f3fb9af5a25b8a97087b35b043ce3c1bb2ab 100644 (file)
@@ -1025,7 +1025,7 @@ static void mtp_tc_hpd_enable_detection(struct intel_encoder *encoder)
 {
        struct intel_display *display = to_intel_display(encoder);
 
-       intel_de_rmw(display, SHOTPLUG_CTL_DDI,
+       intel_de_rmw(display, SHOTPLUG_CTL_TC,
                     mtp_tc_hotplug_mask(encoder->hpd_pin),
                     mtp_tc_hotplug_enables(encoder));
 }