OSDN Git Service

drm/amd/display: update p-state latency for renoir when using lpddr4
authorJoseph Gravenor <joseph.gravenor@amd.com>
Tue, 12 Nov 2019 20:36:57 +0000 (15:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2019 21:30:06 +0000 (16:30 -0500)
[Why]
DF team has produced more optimized latency numbers, for lpddr4

[How]
change the p-state 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 307c854..901e703 100644 (file)
@@ -562,7 +562,7 @@ struct wm_table lpddr4_wm_table = {
                {
                        .wm_inst = WM_A,
                        .wm_type = WM_TYPE_PSTATE_CHG,
-                       .pstate_latency_us = 23.84,
+                       .pstate_latency_us = 11.65333,
                        .sr_exit_time_us = 12.5,
                        .sr_enter_plus_exit_time_us = 17.0,
                        .valid = true,
@@ -570,7 +570,7 @@ struct wm_table lpddr4_wm_table = {
                {
                        .wm_inst = WM_B,
                        .wm_type = WM_TYPE_PSTATE_CHG,
-                       .pstate_latency_us = 23.84,
+                       .pstate_latency_us = 11.65333,
                        .sr_exit_time_us = 12.5,
                        .sr_enter_plus_exit_time_us = 17.0,
                        .valid = true,
@@ -578,7 +578,7 @@ struct wm_table lpddr4_wm_table = {
                {
                        .wm_inst = WM_C,
                        .wm_type = WM_TYPE_PSTATE_CHG,
-                       .pstate_latency_us = 23.84,
+                       .pstate_latency_us = 11.65333,
                        .sr_exit_time_us = 12.5,
                        .sr_enter_plus_exit_time_us = 17.0,
                        .valid = true,
@@ -586,7 +586,7 @@ struct wm_table lpddr4_wm_table = {
                {
                        .wm_inst = WM_D,
                        .wm_type = WM_TYPE_PSTATE_CHG,
-                       .pstate_latency_us = 23.84,
+                       .pstate_latency_us = 11.65333,
                        .sr_exit_time_us = 12.5,
                        .sr_enter_plus_exit_time_us = 17.0,
                        .valid = true,