]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915/dp: Skip AS SDP for DP branch devices
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 24 Apr 2026 09:09:42 +0000 (14:39 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 28 Apr 2026 10:47:00 +0000 (16:17 +0530)
Currently, VRR is not implmented for DP branch devices.
So skip sending AS SDP for them.

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/20260424090942.3060291-4-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c

index 8f2cd603f52aaaef8ea0dad5b50fb1ac261f7c3b..98df93884e9a2497bd5273ff236b24cb59d87a52 100644 (file)
@@ -3174,6 +3174,12 @@ static bool intel_dp_needs_as_sdp(struct intel_dp *intel_dp,
        if (!intel_dp->as_sdp_supported)
                return false;
 
+       /*
+        * #TODO Implement AS SDP for DP branch device.
+        */
+       if (drm_dp_is_branch(intel_dp->dpcd))
+               return false;
+
        return crtc_state->vrr.enable;
 }