]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: delete the redundant initialization in dcn3_51_soc
authorXiang Yang <xiangyang3@huawei.com>
Sun, 7 Apr 2024 09:01:31 +0000 (17:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Apr 2024 02:19:52 +0000 (22:19 -0400)
the dram_clock_change_latency_us in dcn3_51_soc is initialized twice, so
delete one of them.

Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c

index 5abf120ff07502ac769c68ee77781c51bc2311fc..e4f333d4fb54f0c3d34c7597457699c67093b98b 100644 (file)
@@ -237,7 +237,6 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = {
        .urgent_latency_adjustment_fabric_clock_component_us = 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,
 };