]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Enable Replay Low Hz feature flag
authorRobin Chen <robin.chen@amd.com>
Tue, 18 Mar 2025 01:14:47 +0000 (09:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Apr 2025 19:18:36 +0000 (15:18 -0400)
Enable replay low refresh rate support.

Reviewed-by: ChunTao Tso <chuntao.tso@amd.com>
Signed-off-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@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 83ffaae9f4396c0425434e3d51009543460a16e0..1f8382db8599ad466dd196ddb92320d2b63a566e 100644 (file)
@@ -1089,7 +1089,8 @@ union replay_low_refresh_rate_enable_options {
        struct {
        //BIT[0-3]: Replay Low Hz Support control
                unsigned int ENABLE_LOW_RR_SUPPORT          :1;
-               unsigned int RESERVED_1_3                   :3;
+               unsigned int SKIP_ASIC_CHECK                :1;
+               unsigned int RESERVED_2_3                   :2;
        //BIT[4-15]: Replay Low Hz Enable Scenarios
                unsigned int ENABLE_STATIC_SCREEN           :1;
                unsigned int ENABLE_FULL_SCREEN_VIDEO       :1;
@@ -1129,6 +1130,8 @@ struct replay_config {
        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 low refresh rate supported*/
+       bool low_rr_supported;
 };
 
 /* Replay feature flags*/