drm/amd/display: add default clocks if not able to fetch them
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 20:54:17 +0000 (15:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 20:41:30 +0000 (15:41 -0500)
commitee9ea6d88593509f2bbfb8bd40482b21b6a7502c
tree721f28ab1e039f8260468a3bc7c5c3604036bbec
parente9c5dbc1a287735078b8dd3a0028458d9c09b158
drm/amd/display: add default clocks if not able to fetch them

dm_pp_get_clock_levels_by_type needs to add the default clocks
to the powerplay case as well.  This was accidently dropped.

Fixes: b3ea88fef321de ("drm/amd/powerplay: add get_clock_by_type interface for display")
Bug: https://gitlab.freedesktop.org/drm/amd/issues/906
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c