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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:23 +0000 (01:59 -0400)
commit376814f5fcf1aadda501d1413d56e8af85d19a97
tree440f9d0312d1e008d4d5deb87b1ea8ea7e3c19c5
parent617f90d96931e4208707c064af12488d61aaa60f
drm/amdgpu/display bail early in dm_pp_get_static_clocks

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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c