summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
diff options
context:
space:
mode:
authorJack Chang <jack.chang@amd.com>2024-12-16 10:02:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-01-10 19:59:37 +0300
commit7d8a4bffe5d1b9bb4fcba3fce0d2ccfb22c2cfca (patch)
tree44b1569ca5da5fa40ad1cdf072d0347ff40bc8ff /drivers/gpu/drm/amd/display/modules/power/power_helpers.h
parent59fb2d0697de0fa9e48b98414420f5a59ca5583c (diff)
downloadlinux-7d8a4bffe5d1b9bb4fcba3fce0d2ccfb22c2cfca.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/power/power_helpers.h')
-rw-r--r--drivers/gpu/drm/amd/display/modules/power/power_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
index cac302e8fa10..94ade0ef18a3 100644
--- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
+++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
@@ -78,4 +78,5 @@ bool psr_su_set_dsc_slice_height(struct dc *dc, struct dc_link *link,
bool fill_custom_backlight_caps(unsigned int config_no,
struct dm_acpi_atif_backlight_caps *caps);
+void reset_replay_dsync_error_count(struct dc_link *link);
#endif /* MODULES_POWER_POWER_HELPERS_H_ */