]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/dp: Allow AS SDP only if v2 is supported
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Wed, 27 May 2026 04:10:41 +0000 (09:40 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 28 May 2026 11:18:03 +0000 (16:48 +0530)
We do not support AS SDP version 1, so allow AS SDP only if AS SDP v2 is
supported.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260527041050.601735-4-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c

index 10ced5efa12a7385b1869f56111d2cafd02ab3da..aea090cb3daea8e98bc42a3ca3ffa2dbd9c294a3 100644 (file)
@@ -3210,11 +3210,11 @@ static void intel_dp_compute_vsc_colorimetry(const struct intel_crtc_state *crtc
 static bool intel_dp_needs_as_sdp(struct intel_dp *intel_dp,
                                  struct intel_crtc_state *crtc_state)
 {
-       if (!intel_dp->as_sdp_supported)
+       if (!intel_dp->as_sdp_v2_supported)
                return false;
 
        /*
-        * #TODO Implement AS SDP for DP branch device.
+        * #TODO: Add AS SDP v1 support for PCONs (DP branch devices).
         */
        if (drm_dp_is_branch(intel_dp->dpcd))
                return false;