drm/amd/pp: Get and save CZ/ST smu version
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 21 Dec 2017 10:38:47 +0000 (18:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Dec 2017 16:34:15 +0000 (11:34 -0500)
commit873a7ea3007b90fb8b507dc7d6eeb1ab705d4855
tree493d4ec8559a53092fc6fa677d2ba629342efc07
parent0e36b9b2f99b17f2bfbf1d2dab1c2808f658d634
drm/amd/pp: Get and save CZ/ST 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/cz_smumgr.c