drm/i915/mso: using joiner is not possible with eDP MSO
authorjsg <jsg@openbsd.org>
Fri, 28 Jun 2024 03:33:00 +0000 (03:33 +0000)
committerjsg <jsg@openbsd.org>
Fri, 28 Jun 2024 03:33:00 +0000 (03:33 +0000)
From Jani Nikula
e7bda1f8ba8436266f7e49778009bf9995d1c801 in linux-6.6.y/6.6.36
49cc17967be95d64606d5684416ee51eec35e84a in mainline linux

sys/dev/pci/drm/i915/display/intel_dp.c

index f32ec5c..f80bd9f 100644 (file)
@@ -393,6 +393,10 @@ bool intel_dp_can_bigjoiner(struct intel_dp *intel_dp)
        struct intel_encoder *encoder = &intel_dig_port->base;
        struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
 
+       /* eDP MSO is not compatible with joiner */
+       if (intel_dp->mso_link_count)
+               return false;
+
        return DISPLAY_VER(dev_priv) >= 12 ||
                (DISPLAY_VER(dev_priv) == 11 &&
                 encoder->port != PORT_A);