From: Alex Hung <[email protected]>

[Why & How]
soc->max_outstanding_reqs is a dml_uint_t, not a dml_float_t.

Reviewed-by: Austin Zheng <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c 
b/drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
index 89890c88fd66..4022f91193ed 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c
@@ -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);
-- 
2.43.0

Reply via email to