]> xenbits.xensource.com Git - people/jgross/linux.git/commitdiff
drm/i915/mst: ack sink irq ESI for link status changes
authorJani Nikula <jani.nikula@intel.com>
Wed, 12 Jan 2022 11:03:18 +0000 (13:03 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 21 Jan 2022 10:56:03 +0000 (12:56 +0200)
Only specific event status indicators caused the link status to be
acked. Be sure to ack the link status change event.

Arguably we should track which bits to actually clear in ESI instead of
the wholesale approach.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220112110319.1172110-6-jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c

index d8a0ba3a14b7d3811174bcb5a0c1c86890e3bb66..95e9f7220ab8d7226c362b6ebedb56d7528d4d70 100644 (file)
@@ -3699,6 +3699,7 @@ intel_dp_check_mst_status(struct intel_dp *intel_dp)
                    esi[3] & LINK_STATUS_CHANGED) {
                        if (!intel_dp_mst_link_status(intel_dp))
                                link_ok = false;
+                       handled = true;
                }
 
                intel_dp_mst_hpd_irq(intel_dp, esi, &handled);