]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pp: Get and save Rv smu version
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 19 Dec 2017 06:08:54 +0000 (14:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Dec 2017 16:59:21 +0000 (11:59 -0500)
commit2ffd44d470bb8929950ff3f72fa2064b88770b55
tree5d04e99ad92d3415b0aaef066b83afc9ef92ecbb
parente998f2b1ca026b0a9b1139f12c93d30cff61564e
drm/amd/pp: Get and save Rv smu version

The smu firmware is loaded by the sbios on APUs, so query it
from the smu and save the smu fw version info that is reported
to userspace.

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/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c