]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita56c569c615481862b96350a5b2ecc39ebf61caf
tree493d4ec8559a53092fc6fa677d2ba629342efc07
parent7ab955c0fe8d8de0cc66b6fb8870d90e390cc05f
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