From: Dennis Chan Date: Tue, 2 Apr 2024 02:58:01 +0000 (+0800) Subject: drm/amd/display: Fix Replay Desync Error Test X-Git-Tag: v6.11-rc1~141^2~25^2~589 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbc7d7d4469faa490ff535fbcc6fa9f5a97788fe;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Fix Replay Desync Error Test When PHY power off, the DP_SEC_CNTL cannot be configured and cause disable Adaptive sync SDP failed. Regarding the issue, the driver will disabled AS-SDP in replay state machine. Reviewed-by: ChunTao Tso Acked-by: Aurabindo Pillai Signed-off-by: Dennis Chan Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index 6c85ca3b1e1af..d79de4780151d 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -1035,6 +1035,7 @@ enum replay_FW_Message_type { Replay_Set_Timing_Sync_Supported, Replay_Set_Residency_Frameupdate_Timer, Replay_Set_Pseudo_VTotal, + Replay_Disabled_Adaptive_Sync_SDP, }; union replay_error_status {