mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-20 04:23:55 -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:
@@ -1039,3 +1039,8 @@ bool fill_custom_backlight_caps(unsigned int config_no, struct dm_acpi_atif_back
|
||||
memcpy(caps->data_points, custom_backlight_profiles[config_no].data_points, data_points_size);
|
||||
return true;
|
||||
}
|
||||
|
||||
void reset_replay_dsync_error_count(struct dc_link *link)
|
||||
{
|
||||
link->replay_settings.replay_desync_error_fail_count = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user