]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Correct MALL parameters for DCN42 soc bb
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 24 Mar 2026 15:50:18 +0000 (11:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Apr 2026 19:21:16 +0000 (15:21 -0400)
[Why & How]
The MALL and DCC parameters were copied and pasted from a previous ASIC
but the correct value per HW specification should all be 0.

If not correct this can impact urgent bandwidth calculation and PMO.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/bounding_boxes/dcn42_soc_bb.h

index deea5608c08eea27999936a99a1436b87569e482..ccdd9fd1e1bd1f346481bc38b60ab5049a182ce2 100644 (file)
@@ -203,7 +203,7 @@ static const struct dml2_soc_bb dml2_socbb_dcn42 = {
        .xtalclk_mhz = 24,
        .pcie_refclk_mhz = 100,
        .dchub_refclk_mhz = 50,
-       .mall_allocated_for_dcn_mbytes = 64,
+       .mall_allocated_for_dcn_mbytes = 0,
        .max_outstanding_reqs = 256,
        .fabric_datapath_to_dcn_data_return_bytes = 32,
        .return_bus_width_bytes = 64,