drm/amdgpu/display bail early in dm_pp_get_static_clocks
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2020 20:33:47 +0000 (16:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:38 +0000 (08:23 +0200)
commitc2013b737bbde32f302575e6a1b74eb21cd419ca
tree25853cb96d896ae7c9179e5f012b35a222403631
parentaeb79d98b4b1e4007207936b7a8fb074a96c240f
drm/amdgpu/display bail early in dm_pp_get_static_clocks

[ Upstream commit 376814f5fcf1aadda501d1413d56e8af85d19a97 ]

If there are no supported callbacks.  We'll fall back to the
nominal clocks.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1170
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c