summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorXiangliang Yu <Xiangliang.Yu@amd.com>2016-11-20 23:00:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2016-12-06 18:08:24 -0500
commit7047391fababb8e3302aa3886fe93ff7bcd61d70 (patch)
tree3acec99e6aa07266d5cd6b24dda7bc86dcfda428 /drivers/gpu/drm
parent3c3a7e616c02cbf0ffcd5888ceffb24e7ac73ad6 (diff)
downloadlinux-7047391fababb8e3302aa3886fe93ff7bcd61d70.tar.gz
linux-7047391fababb8e3302aa3886fe93ff7bcd61d70.tar.bz2
linux-7047391fababb8e3302aa3886fe93ff7bcd61d70.zip
drm/amd/powerplay: fix firmware loading failure
For virtualization, firmware loading need the firmware version info, and will load the right firmware. So, transfer fw_version to toc. Signed-off-by: Frank Min <Frank.Min@amd.com> Signed-off-by: Monk Liu <Monk.Liu@amd.com> Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 6df0d6edfdd1..c9bd1cf569a5 100644
--- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
+++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
@@ -366,7 +366,7 @@ static int smu7_populate_single_firmware_entry(struct pp_smumgr *smumgr,
&info);
if (!result) {
- entry->version = info.version;
+ entry->version = info.fw_version;
entry->id = (uint16_t)fw_type;
entry->image_addr_high = smu_upper_32_bits(info.mc_addr);
entry->image_addr_low = smu_lower_32_bits(info.mc_addr);