Commit 398a16e1 authored by Xi Liu's avatar Xi Liu Committed by Alex Deucher

drm/amd/display: increase bb clock for DCN351

[Why and how]

Bounding box clocks for DCN351 should be increased as per request
Reviewed-by: default avatarSwapnil Patel <swapnil.patel@amd.com>
Acked-by: default avatarWayne Lin <wayne.lin@amd.com>
Signed-off-by: default avatarXi Liu <xi.liu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent f2afc8d4
...@@ -98,51 +98,110 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = { ...@@ -98,51 +98,110 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = {
.clock_limits = { .clock_limits = {
{ {
.state = 0, .state = 0,
.dispclk_mhz = 1200.0, .dcfclk_mhz = 400.0,
.dppclk_mhz = 1200.0, .fabricclk_mhz = 400.0,
.socclk_mhz = 600.0,
.dram_speed_mts = 3200.0,
.dispclk_mhz = 600.0,
.dppclk_mhz = 600.0,
.phyclk_mhz = 600.0, .phyclk_mhz = 600.0,
.phyclk_d18_mhz = 667.0, .phyclk_d18_mhz = 667.0,
.dscclk_mhz = 186.0, .dscclk_mhz = 200.0,
.dtbclk_mhz = 600.0, .dtbclk_mhz = 600.0,
}, },
{ {
.state = 1, .state = 1,
.dispclk_mhz = 1200.0, .dcfclk_mhz = 600.0,
.dppclk_mhz = 1200.0, .fabricclk_mhz = 1000.0,
.socclk_mhz = 733.0,
.dram_speed_mts = 6400.0,
.dispclk_mhz = 800.0,
.dppclk_mhz = 800.0,
.phyclk_mhz = 810.0, .phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0, .phyclk_d18_mhz = 667.0,
.dscclk_mhz = 209.0, .dscclk_mhz = 266.7,
.dtbclk_mhz = 600.0, .dtbclk_mhz = 600.0,
}, },
{ {
.state = 2, .state = 2,
.dispclk_mhz = 1200.0, .dcfclk_mhz = 738.0,
.dppclk_mhz = 1200.0, .fabricclk_mhz = 1200.0,
.socclk_mhz = 880.0,
.dram_speed_mts = 7500.0,
.dispclk_mhz = 800.0,
.dppclk_mhz = 800.0,
.phyclk_mhz = 810.0, .phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0, .phyclk_d18_mhz = 667.0,
.dscclk_mhz = 209.0, .dscclk_mhz = 266.7,
.dtbclk_mhz = 600.0, .dtbclk_mhz = 600.0,
}, },
{ {
.state = 3, .state = 3,
.dispclk_mhz = 1200.0, .dcfclk_mhz = 800.0,
.dppclk_mhz = 1200.0, .fabricclk_mhz = 1400.0,
.socclk_mhz = 978.0,
.dram_speed_mts = 7500.0,
.dispclk_mhz = 960.0,
.dppclk_mhz = 960.0,
.phyclk_mhz = 810.0, .phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0, .phyclk_d18_mhz = 667.0,
.dscclk_mhz = 371.0, .dscclk_mhz = 320.0,
.dtbclk_mhz = 600.0, .dtbclk_mhz = 600.0,
}, },
{ {
.state = 4, .state = 4,
.dcfclk_mhz = 873.0,
.fabricclk_mhz = 1600.0,
.socclk_mhz = 1100.0,
.dram_speed_mts = 8533.0,
.dispclk_mhz = 1066.7,
.dppclk_mhz = 1066.7,
.phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0,
.dscclk_mhz = 355.6,
.dtbclk_mhz = 600.0,
},
{
.state = 5,
.dcfclk_mhz = 960.0,
.fabricclk_mhz = 1700.0,
.socclk_mhz = 1257.0,
.dram_speed_mts = 8533.0,
.dispclk_mhz = 1200.0, .dispclk_mhz = 1200.0,
.dppclk_mhz = 1200.0, .dppclk_mhz = 1200.0,
.phyclk_mhz = 810.0, .phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0, .phyclk_d18_mhz = 667.0,
.dscclk_mhz = 417.0, .dscclk_mhz = 400.0,
.dtbclk_mhz = 600.0,
},
{
.state = 6,
.dcfclk_mhz = 1067.0,
.fabricclk_mhz = 1850.0,
.socclk_mhz = 1257.0,
.dram_speed_mts = 8533.0,
.dispclk_mhz = 1371.4,
.dppclk_mhz = 1371.4,
.phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0,
.dscclk_mhz = 457.1,
.dtbclk_mhz = 600.0,
},
{
.state = 7,
.dcfclk_mhz = 1200.0,
.fabricclk_mhz = 2000.0,
.socclk_mhz = 1467.0,
.dram_speed_mts = 8533.0,
.dispclk_mhz = 1600.0,
.dppclk_mhz = 1600.0,
.phyclk_mhz = 810.0,
.phyclk_d18_mhz = 667.0,
.dscclk_mhz = 533.3,
.dtbclk_mhz = 600.0, .dtbclk_mhz = 600.0,
}, },
}, },
.num_states = 5, .num_states = 8,
.sr_exit_time_us = 28.0, .sr_exit_time_us = 28.0,
.sr_enter_plus_exit_time_us = 30.0, .sr_enter_plus_exit_time_us = 30.0,
.sr_exit_z8_time_us = 250.0, .sr_exit_z8_time_us = 250.0,
...@@ -177,6 +236,9 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = { ...@@ -177,6 +236,9 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = {
.do_urgent_latency_adjustment = 0, .do_urgent_latency_adjustment = 0,
.urgent_latency_adjustment_fabric_clock_component_us = 0, .urgent_latency_adjustment_fabric_clock_component_us = 0,
.urgent_latency_adjustment_fabric_clock_reference_mhz = 0, .urgent_latency_adjustment_fabric_clock_reference_mhz = 0,
.num_chans = 4,
.dram_clock_change_latency_us = 11.72,
.dispclk_dppclk_vco_speed_mhz = 2400.0,
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment