drm/amd/powerplay: fix firmware loading failure
Subsystems (2)
PATCH v2 1/2 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.
v2: use "drm/amd/powerplay" as the prefix for patch title.
--- drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +1 -1
@@ -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);
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1479783725-4184-1-git-send-email-Xiangliang.Yu-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Reviewed-by Alex DeucherQuoted 8 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Xiangliang Yu
Sent: Monday, November 21, 2016 10:02 PM
To: [email protected]
Cc: Yu, Xiangliang
Subject: [Patch v2 1/2] drm/amd/powerplay: fix firmware loading failure
Quoted 6 lines
For virtualization, firmware loading need the firmware version info, and will load the right firmware. So, transfer
fw_versionto toc.v2: use "drm/amd/powerplay" as the prefix for patch title.
Signed-off-by Xiangliang Yu <[email protected]>
Quoted 24 lines
--- drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +1
-1@@ -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
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx