aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/power/power_helpers.h
diff options
context:
space:
mode:
authorJack Chang <[email protected]>2024-12-16 07:02:08 +0000
committerAlex Deucher <[email protected]>2025-01-10 16:59:37 +0000
commit7d8a4bffe5d1b9bb4fcba3fce0d2ccfb22c2cfca (patch)
tree44b1569ca5da5fa40ad1cdf072d0347ff40bc8ff /drivers/gpu/drm/amd/display/modules/power/power_helpers.h
parentdrm/amd/display: Log Hard Min Clocks and Phantom Pipe Status (diff)
downloadkernel-7d8a4bffe5d1b9bb4fcba3fce0d2ccfb22c2cfca.tar.gz
kernel-7d8a4bffe5d1b9bb4fcba3fce0d2ccfb22c2cfca.zip
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 <[email protected]> Reviewed-by: Robin Chen <[email protected]> Signed-off-by: Jack Chang <[email protected]> Signed-off-by: Tom Chung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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_ */