答复: [PATCH 1/2] amdgpu: fix firmware loading failure
Liu, Monk
Monk.Liu at amd.com
Mon Nov 21 09:10:50 UTC 2016
Please use "drm/amdgpu" as th prefix for the title
-----邮件原件-----
发件人: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] 代表 Xiangliang Yu
发送时间: Monday, November 21, 2016 2:13 PM
收件人: amd-gfx at freedesktop.org
抄送: Yu, Xiangliang
主题: [PATCH 1/2] amdgpu: 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: Xiangliang Yu <Xiangliang.Yu at amd.com>
---
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c
index 6df0d6e..c9bd1cf 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);
--
2.7.4
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list