]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Fix error handling when smu return failed on Vega10.
authorRex Zhu <Rex.Zhu@amd.com>
Sun, 11 Feb 2018 04:38:58 +0000 (12:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:35 +0000 (23:09 -0500)
commit8f15ed382c6cd6122bf4db5016c7941b14c6b361
treea0898c6f5f1d06aad849b76baa4e96893d4cfadd
parent6a3d4a65dd3e25b78cd311e492f250235874ccaa
drm/amd/pp: Fix error handling when smu return failed on Vega10.

Clamp the clock index to a valid range when reading it back

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c