]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Add a new flag for replay low hz
authorRobin Chen <robin.chen@amd.com>
Wed, 25 Dec 2024 05:29:31 +0000 (13:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2025 17:11:30 +0000 (12:11 -0500)
[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>
drivers/gpu/drm/amd/display/dc/dc_types.h

index 0aef2d84c3a43d9033d062e1f91477c24a8a6b70..d7242dd83def95e6dbb59b32164854400e6340d5 100644 (file)
@@ -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*/