drm/amd/display: updated wm table for Renoir
authorJake Wang <haonan.wang2@amd.com>
Wed, 9 Dec 2020 23:00:18 +0000 (18:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:02:30 +0000 (15:02 -0500)
[Why]
For certain timings, Renoir may underflow due to sr exit  latency
being too slow.

[How]
Updated wm table for renoir.

Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c

index 9aa1b63..bad3021 100644 (file)
@@ -731,32 +731,32 @@ static struct wm_table ddr4_wm_table_rn = {
                        .wm_inst = WM_A,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.72,
-                       .sr_exit_time_us = 9.09,
-                       .sr_enter_plus_exit_time_us = 10.14,
+                       .sr_exit_time_us = 11.90,
+                       .sr_enter_plus_exit_time_us = 12.80,
                        .valid = true,
                },
                {
                        .wm_inst = WM_B,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.72,
-                       .sr_exit_time_us = 11.12,
-                       .sr_enter_plus_exit_time_us = 12.48,
+                       .sr_exit_time_us = 13.18,
+                       .sr_enter_plus_exit_time_us = 14.30,
                        .valid = true,
                },
                {
                        .wm_inst = WM_C,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.72,
-                       .sr_exit_time_us = 11.12,
-                       .sr_enter_plus_exit_time_us = 12.48,
+                       .sr_exit_time_us = 13.18,
+                       .sr_enter_plus_exit_time_us = 14.30,
                        .valid = true,
                },
                {
                        .wm_inst = WM_D,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.72,
-                       .sr_exit_time_us = 11.12,
-                       .sr_enter_plus_exit_time_us = 12.48,
+                       .sr_exit_time_us = 13.18,
+                       .sr_enter_plus_exit_time_us = 14.30,
                        .valid = true,
                },
        }