]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Revert "drm/i915/dp: Compute as_sdp based on if vrr possible"
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Thu, 6 Feb 2025 04:50:01 +0000 (10:20 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 7 Feb 2025 05:29:14 +0000 (10:59 +0530)
This reverts commit 08277aa5d5a44befd71717de35b956f55e1e8401.

Compute AS SDP params only when VRR is enabled to maintain
PSR exclusivity.

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250206045001.2919360-3-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/intel_dp.c

index 7127cda6482870d8f12cb04107e298b84345e434..7463478eef92d9f9f2213c770e157b6ae824fbc1 100644 (file)
@@ -2817,7 +2817,7 @@ static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp,
        const struct drm_display_mode *adjusted_mode =
                &crtc_state->hw.adjusted_mode;
 
-       if (!intel_vrr_possible(crtc_state) || !intel_dp->as_sdp_supported)
+       if (!crtc_state->vrr.enable || !intel_dp->as_sdp_supported)
                return;
 
        crtc_state->infoframes.enable |= intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC);