summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
diff options
context:
space:
mode:
authorRex Zhu2017-12-19 07:07:09 +0100
committerAlex Deucher2017-12-20 17:57:14 +0100
commit82eb0f3071d25ef670b7810dddfbd7d6f142a2a7 (patch)
tree6971205ec24b939575730c50687a33ebe668a8ed /drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
parentdrm/amd/pp: Move smu_version to common code (diff)
downloadkernel-qcow2-linux-82eb0f3071d25ef670b7810dddfbd7d6f142a2a7.tar.gz
kernel-qcow2-linux-82eb0f3071d25ef670b7810dddfbd7d6f142a2a7.tar.xz
kernel-qcow2-linux-82eb0f3071d25ef670b7810dddfbd7d6f142a2a7.zip
drm/amd/pp: update smu_version value for CI/VI
Set the new common smu firmware version for smu7 parts (CI and VI). 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/powerplay/smumgr/ci_smumgr.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
index c6c741a38545..0b4a55660de4 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/ci_smumgr.c
@@ -2316,6 +2316,7 @@ static int ci_load_smc_ucode(struct pp_hwmgr *hwmgr)
cgs_get_firmware_info(hwmgr->device, CGS_UCODE_ID_SMU, &info);
hwmgr->is_kicker = info.is_kicker;
+ hwmgr->smu_version = info.version;
byte_count = info.image_size;
src = (uint8_t *)info.kptr;
start_addr = info.ucode_start_address;