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)
commitf49e9bac191b066060a53d994f9c964fb71454f2
tree5d04e99ad92d3415b0aaef066b83afc9ef92ecbb
parent82eb0f3071d25ef670b7810dddfbd7d6f142a2a7
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