]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96243133041030424ffd9e1eb796d203d925a636
tree721f28ab1e039f8260468a3bc7c5c3604036bbec
parentec60affa41f2b8703bafb281815f8e43843a9c71
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: 6d9c09f39405dc ("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