]> 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>
Tue, 26 Nov 2019 17:19:08 +0000 (12:19 -0500)
commitac7f1a854b912bd4e5f50fd130c8ea0effa63d6a
tree924f7eee2526f16c6dc34dd8fb9124ff049706fe
parent41bfaa20230b868a17e770dba63d7114c7ca0b0d
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: cbee1cd1475b90 ("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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c