drm/amd/display: Fix the incorrect type in dml_print
authorAlex Hung <alex.hung@amd.com>
Thu, 8 Jan 2026 00:31:37 +0000 (17:31 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:16:17 +0000 (15:16 -0500)
[Why & How]
soc->max_outstanding_reqs is a dml_uint_t, not a dml_float_t.

Reviewed-by: Austin Zheng <austin.zheng@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c

index 89890c8..4022f91 100644 (file)
@@ -655,7 +655,7 @@ __DML_DLL_EXPORT__ void dml_print_soc_bounding_box(const struct soc_bounding_box
        dml_print("DML: soc_bbox: refclk_mhz = %f\n", soc->refclk_mhz);
        dml_print("DML: soc_bbox: amclk_mhz = %f\n", soc->amclk_mhz);
 
-       dml_print("DML: soc_bbox: max_outstanding_reqs = %f\n", soc->max_outstanding_reqs);
+       dml_print("DML: soc_bbox: max_outstanding_reqs = %d\n", soc->max_outstanding_reqs);
        dml_print("DML: soc_bbox: pct_ideal_sdp_bw_after_urgent = %f\n", soc->pct_ideal_sdp_bw_after_urgent);
        dml_print("DML: soc_bbox: pct_ideal_fabric_bw_after_urgent = %f\n", soc->pct_ideal_fabric_bw_after_urgent);
        dml_print("DML: soc_bbox: pct_ideal_dram_bw_after_urgent_pixel_only = %f\n", soc->pct_ideal_dram_bw_after_urgent_pixel_only);