]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: update sr latency for renoir when using lpddr4
authorJoseph Gravenor <joseph.gravenor@amd.com>
Tue, 12 Nov 2019 22:48:36 +0000 (17:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:30:50 +0000 (16:30 -0500)
[Why]
DF team has produced more optimized sr latency numbers, for lpddr4

[How]
change the sr laency in the lpddr4 wm table to the new latency
number

Signed-off-by: Joseph Gravenor <joseph.gravenor@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Leo Li <sunpeng.li@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 901e7035bf8e11a932dc10d9c6db4e5ce3ee61ab..37230d3d94a07b4f6b5657318a392447172aa063 100644 (file)
@@ -563,32 +563,32 @@ struct wm_table lpddr4_wm_table = {
                        .wm_inst = WM_A,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.65333,
-                       .sr_exit_time_us = 12.5,
-                       .sr_enter_plus_exit_time_us = 17.0,
+                       .sr_exit_time_us = 5.32,
+                       .sr_enter_plus_exit_time_us = 6.38,
                        .valid = true,
                },
                {
                        .wm_inst = WM_B,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.65333,
-                       .sr_exit_time_us = 12.5,
-                       .sr_enter_plus_exit_time_us = 17.0,
+                       .sr_exit_time_us = 9.82,
+                       .sr_enter_plus_exit_time_us = 11.196,
                        .valid = true,
                },
                {
                        .wm_inst = WM_C,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.65333,
-                       .sr_exit_time_us = 12.5,
-                       .sr_enter_plus_exit_time_us = 17.0,
+                       .sr_exit_time_us = 9.89,
+                       .sr_enter_plus_exit_time_us = 11.24,
                        .valid = true,
                },
                {
                        .wm_inst = WM_D,
                        .wm_type = WM_TYPE_PSTATE_CHG,
                        .pstate_latency_us = 11.65333,
-                       .sr_exit_time_us = 12.5,
-                       .sr_enter_plus_exit_time_us = 17.0,
+                       .sr_exit_time_us = 9.748,
+                       .sr_enter_plus_exit_time_us = 11.102,
                        .valid = true,
                },
        }