summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Chen <robin.chen@amd.com>2024-12-25 13:29:31 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-01-10 12:11:30 -0500
commit4e5a9bcc9b6aa3c11c7649c8e9727d662f069af8 (patch)
tree35b2188ce48bda13fb5d161f3fefe988662e49ab
parent92d100378c4b2e7f566518a1c60ce990a845ed26 (diff)
drm/amd/display: Add a new flag for replay low hz
[Why & How] Add a new flag in replay_config to indicate the replay low hz status. Reviewed-by: Allen Li <allen.li@amd.com> Signed-off-by: Robin Chen <robin.chen@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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h
index 0aef2d84c3a4..d7242dd83def 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_types.h
@@ -1119,6 +1119,8 @@ struct replay_config {
union replay_error_status replay_error_status;
/* Replay Low Hz enable Options */
union replay_low_refresh_rate_enable_options low_rr_enable_options;
+ /* Replay coasting vtotal is within low refresh rate range. */
+ bool low_rr_activated;
};
/* Replay feature flags*/