drm/amd/display: Fix DC warning at driver load
authorQingqing Zhuo <qingqing.zhuo@amd.com>
Fri, 10 Jun 2022 14:43:53 +0000 (10:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 22:17:23 +0000 (18:17 -0400)
commitf173fbe5b042e1c87593e3b06e85cae0094dd867
treeb3c5f72183ef0c17149f00b44c55f88094c14a2e
parent4b33b5ffcf68de3a43e7dddc91c5dc86e6ed8587
drm/amd/display: Fix DC warning at driver load

[Why]
Wrong index was checked for dcfclk_mhz, causing false warning.

[How]
Fix the assertion index.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c