drm/amd/display: Improve the log precision
authorEthan Bitnun <Ethan.Bitnun@amd.com>
Mon, 12 Feb 2024 23:02:33 +0000 (18:02 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Apr 2024 01:26:53 +0000 (21:26 -0400)
commit838a59cae36f2bbf4d444270ca407f9e24458517
tree8864740e9c994fda737f6d8faaf57af4bc1c3bbf
parent9312f9d7308a247cab8a00685c17193d940e25e9
drm/amd/display: Improve the log precision

The previous assumption that there will be an optimize_bandwidth call
following every prepare_bandwidth call was incorrect and caused small
inaccuracies in logging, as some info was only updated in later prepare
calls.

Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Ethan Bitnun <Ethan.Bitnun@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c