Skip to contentSkip to conversation

drm/amd/display: delete the redundant initialization in dcn3_51_soc

PATCH New Xiang Yang 2 participants 3 messages Apr 8, 2024

Subsystems (4)
lore
Share & tools
lore

Xiang Yang

author
#0 lore raw

PATCH 1/1 drm/amd/display: delete the redundant initialization in dcn3_51_soc

the dram_clock_change_latency_us in dcn3_51_soc is initialized twice, so delete one of them.

---
 drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c +0 -1
index b3ffab77cf88..f1c0d5b77f1b 100644
@@ -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,
 };
 
Signature · 1 line
2.34.1
author
#1 lore raw

PATCH 1/1 drm/amd/display: delete the redundant initialization in dcn3_51_soc

the dram_clock_change_latency_us in dcn3_51_soc is initialized twice, so delete one of them.

---
 drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c +0 -1
index b3ffab77cf88..f1c0d5b77f1b 100644
@@ -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,
 };
 
Signature · 1 line
2.34.1
Acked-by on v1 1/1 Applied
#2 lore raw

Applied.

Thanks,

Alex

Quoted 24 lines · Xiang Yang

the dram_clock_change_latency_us in dcn3_51_soc is initialized twice, so delete one of them.

---
 drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c +0 -2
index b3ffab77cf88..f1c0d5b77f1b 100644
@@ -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,
 };
 
--

2.34.1