drm/amd/display: Enable frame skipping in 0x37B

[Why & How]
Enable frame skipping in 0x37B

Reviewed-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Chuntao Tso <chuntao.tso@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Chuntao Tso 2026-03-16 15:21:39 +08:00 committed by Alex Deucher
parent 6352e60273
commit 7d5668d634
2 changed files with 6 additions and 1 deletions

View File

@ -1363,7 +1363,10 @@ union replay_enable_and_configuration {
unsigned char FREESYNC_PANEL_REPLAY_MODE :1;
unsigned char TIMING_DESYNC_ERROR_VERIFICATION :1;
unsigned char STATE_TRANSITION_ERROR_DETECTION :1;
unsigned char RESERVED :5;
unsigned char FSFT_ENABLED :1;
unsigned char FRAME_SKIPPING_ERROR_DETECTION :1;
unsigned char FRAME_SKIPPING_ENABLE :1;
unsigned char RESERVED :2;
} bits;
unsigned char raw;
};

View File

@ -1052,6 +1052,8 @@ bool edp_setup_freesync_replay(struct dc_link *link, const struct dc_stream_stat
replay_config.bits.FREESYNC_PANEL_REPLAY_MODE = 1;
replay_config.bits.TIMING_DESYNC_ERROR_VERIFICATION = 0;
replay_config.bits.STATE_TRANSITION_ERROR_DETECTION = 1;
replay_config.bits.FRAME_SKIPPING_ERROR_DETECTION = 1;
replay_config.bits.FRAME_SKIPPING_ENABLE = 1;
dm_helpers_dp_write_dpcd(link->ctx, link,
DP_SINK_PR_ENABLE_AND_CONFIGURATION,
(uint8_t *)&(replay_config.raw), sizeof(uint8_t));