提交 cdd249fb 编写于 作者: J Jake Wang 提交者: Zheng Zengkai

drm/amd/display: Update dram_clock_change_latency for DCN2.1

stable inclusion
from stable-5.10.14
commit af2fc0f4acb618ac66c0820ad84c9da1a8e95d95
bugzilla: 48051

--------------------------------

[ Upstream commit 901c1ec0 ]

[WHY]
dram clock change latencies get updated using ddr4 latency table, but
does that update does not happen before validation. This value
should not be the default and should be number received from
df for better mode support.
This may cause a PState hang on high refresh panels with short vblanks
such as on 1080p 360hz or 300hz panels.

[HOW]
Update latency from 23.84 to 11.72.
Signed-off-by: NSung Lee <sung.lee@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NAurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: NSasha Levin <sashal@kernel.org>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
上级 5b13726d
...@@ -295,7 +295,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn2_1_soc = { ...@@ -295,7 +295,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn2_1_soc = {
.num_banks = 8, .num_banks = 8,
.num_chans = 4, .num_chans = 4,
.vmm_page_size_bytes = 4096, .vmm_page_size_bytes = 4096,
.dram_clock_change_latency_us = 23.84, .dram_clock_change_latency_us = 11.72,
.return_bus_width_bytes = 64, .return_bus_width_bytes = 64,
.dispclk_dppclk_vco_speed_mhz = 3600, .dispclk_dppclk_vco_speed_mhz = 3600,
.xfc_bus_transport_time_us = 4, .xfc_bus_transport_time_us = 4,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册