diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2017-12-21 18:38:47 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-27 11:34:15 -0500 |
commit | 873a7ea3007b90fb8b507dc7d6eeb1ab705d4855 (patch) | |
tree | 493d4ec8559a53092fc6fa677d2ba629342efc07 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | 0e36b9b2f99b17f2bfbf1d2dab1c2808f658d634 (diff) | |
download | linux-873a7ea3007b90fb8b507dc7d6eeb1ab705d4855.tar.gz linux-873a7ea3007b90fb8b507dc7d6eeb1ab705d4855.tar.bz2 linux-873a7ea3007b90fb8b507dc7d6eeb1ab705d4855.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 13607e28c1c9..4466f3535e2d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -801,6 +801,8 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, else strcpy(fw_name, "amdgpu/vega10_smc.bin"); break; + case CHIP_CARRIZO: + case CHIP_STONEY: case CHIP_RAVEN: adev->pm.fw_version = info->version; return 0; |