]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915/dp: Compute AS SDP after PSR compute config
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Wed, 27 May 2026 04:10:48 +0000 (09:40 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 28 May 2026 11:18:09 +0000 (16:48 +0530)
A subsequent change makes intel_dp_needs_as_sdp() depend on
crtc_state->has_panel_replay, which is set by intel_psr_compute_config().

Move call for intel_dp_compute_as_sdp() after the
intel_psr_compute_config().

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

index 9adf426ea1106459531a52e0841181bbee6a09ee..e13130bb9e9eaefacea728088967252e679e83e4 100644 (file)
@@ -3744,8 +3744,8 @@ intel_dp_compute_config(struct intel_encoder *encoder,
                pipe_config->dp_m_n.data_m *= pipe_config->splitter.link_count;
 
        intel_vrr_compute_config(pipe_config, conn_state);
-       intel_dp_compute_as_sdp(intel_dp, pipe_config);
        intel_psr_compute_config(intel_dp, pipe_config, conn_state);
+       intel_dp_compute_as_sdp(intel_dp, pipe_config);
        intel_alpm_lobf_compute_config(intel_dp, pipe_config, conn_state);
        intel_dp_drrs_compute_config(connector, pipe_config, link_bpp_x16);
        intel_dp_compute_vsc_sdp(intel_dp, pipe_config, conn_state);