AS SDP is supported for both VRR (AVT) and CMRR (FAVT). Update the check to return true when either VRR or CMRR is enabled.
CMRR is currently disabled in i915, so this change has no functional impact as of now, but it keeps the logic complete and ready for when CMRR is enabled. Subsequent changes will handle AS SDP requirements for Panel Replay. Signed-off-by: Ankit Nautiyal <[email protected]> --- drivers/gpu/drm/i915/display/intel_dp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c index 65764ab0bb9b..5abb56fb26f7 100644 --- a/drivers/gpu/drm/i915/display/intel_dp.c +++ b/drivers/gpu/drm/i915/display/intel_dp.c @@ -3114,7 +3114,8 @@ 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) { - return crtc_state->vrr.enable; + return crtc_state->vrr.enable || + crtc_state->cmrr.enable; } static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp, -- 2.45.2
