drm/amd/display: Fix Replay Desync Error Test
authorDennis Chan <dennis.chan@amd.com>
Tue, 2 Apr 2024 02:58:01 +0000 (10:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Apr 2024 13:45:26 +0000 (09:45 -0400)
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 <chuntao.tso@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Dennis Chan <dennis.chan@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_types.h

index 6c85ca3b1e1af7aef7ae6ceeaed108b3c3f11d8f..d79de4780151d6cf478efcc778c42e3f5af62576 100644 (file)
@@ -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 {