]> asedeno.scripts.mit.edu Git - linux.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)
commit952e5daa2565fc842d90192d2254f3bc1a88920c
treea0898c6f5f1d06aad849b76baa4e96893d4cfadd
parent40d5250dbb468ecf1d4a1aa5f5597358e33de95c
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