drm/amd/powerplay: fix firmware loading failure
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Sun, 20 Nov 2016 15:00:26 +0000 (23:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2016 23:08:24 +0000 (18:08 -0500)
commit7047391fababb8e3302aa3886fe93ff7bcd61d70
tree3acec99e6aa07266d5cd6b24dda7bc86dcfda428
parent3c3a7e616c02cbf0ffcd5888ceffb24e7ac73ad6
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>
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c