drm/amd/display: Enable urgent latency adjustments for DCN35

[Why]
Underflow occurs when running Netflix in a 4k144 eDP + 4k60 HDMI FRL
setup. It is caused by latency varying based on the DCFCLK/FCLK state.

[How]
Enable urgent latency adjustment and match the reference to existing
ASIC that also see increased latency at low FCLK.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Nicholas Susanto <nicholas.susanto@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Nicholas Susanto 2024-04-24 13:34:11 -04:00 committed by Alex Deucher
parent dd5a440a31
commit 284f141f5c

View File

@ -195,9 +195,9 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_5_soc = {
.dcn_downspread_percent = 0.5, .dcn_downspread_percent = 0.5,
.gpuvm_min_page_size_bytes = 4096, .gpuvm_min_page_size_bytes = 4096,
.hostvm_min_page_size_bytes = 4096, .hostvm_min_page_size_bytes = 4096,
.do_urgent_latency_adjustment = 0, .do_urgent_latency_adjustment = 1,
.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 = 3000,
}; };
void dcn35_build_wm_range_table_fpu(struct clk_mgr *clk_mgr) void dcn35_build_wm_range_table_fpu(struct clk_mgr *clk_mgr)