]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Jan 2020 18:19:51 +0000 (13:19 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Feb 2020 15:37:52 +0000 (10:37 -0500)
commit69f13c8de41a9fefb31efe47dba118d5499169dd
tree550b34b56199d3b6c4470a7b2803a0169cfada5a
parente803437c5dabd10d094435fc91f54a0852a9ebc6
drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency

Only send non-0 clocks to DC for validation.  This mirrors
what the windows driver does.

Bug: https://gitlab.freedesktop.org/drm/amd/issues/963
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c