drm/amd/display: Fix typo when retrieving dppclk from UEFI config
authorMartin Leung <martin.leung@amd.com>
Mon, 22 Feb 2021 18:46:43 +0000 (13:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:02:23 +0000 (23:02 -0400)
commitb12f60ac4960a0d5ecf72f4661b39ba4647275c9
tree8c8571a75eb1d49218716eed8c145dc306341cca
parentd3cf9fa6baced06fce3cfb100258c0dcb9fb1305
drm/amd/display: Fix typo when retrieving dppclk from UEFI config

[why]
In some boot configurations we need to retrieve the currently
UEFI-set dppclk, but there was a typo in the calculation

[how]
Fix typo to make dpp_clk calculate off dpp_clk divider instead of
disp_clk

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Martin Leung <martin.leung@amd.com>
Reviewed-by: Sung Lee <Sung.Lee@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c