]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jan 2020 19:39:45 +0000 (14:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Feb 2020 15:37:52 +0000 (10:37 -0500)
commite803437c5dabd10d094435fc91f54a0852a9ebc6
tree9f1b8e24720cfe3b15c9a5b64af71cebb72136e3
parent4420437c9302165d82279ae9b69a20ddacb5f874
drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)

We might get different numbers of clocks from powerplay depending
on what the OEM has populated.

v2: add assert for at least one level

Bug: https://gitlab.freedesktop.org/drm/amd/issues/963
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c