]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 22 Jun 2022 21:15:41 +0000 (17:15 -0400)
commita63f4d99deb37ea39c8f8a9cb3c7330bf135cdf0
tree032ebe4fe8f84243e12c20689e89a20d264243e1
parente03fe3ff5dbb44055bcd04255fff981fcd8b4594
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>
Cc: stable@vger.kernel.org # 5.18.x
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c