mirror of
https://github.com/torvalds/linux.git
synced 2026-05-01 04:52:32 -04:00
drm/amd/display: Add replay desync error count tracking and reset functionality
[Why & How] Build-up get/reset desync error count interface and implement the functions. Reviewed-by: ChunTao Tso <chuntao.tso@amd.com> Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Jack Chang <jack.chang@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -239,6 +239,9 @@ static void handle_hpd_irq_replay_sink(struct dc_link *link)
|
||||
&replay_configuration.raw,
|
||||
sizeof(replay_configuration.raw));
|
||||
|
||||
/* Update desync error counter */
|
||||
link->replay_settings.replay_desync_error_fail_count++;
|
||||
|
||||
/* Acknowledge and clear error bits */
|
||||
dm_helpers_dp_write_dpcd(
|
||||
link->ctx,
|
||||
|
||||
Reference in New Issue
Block a user