projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'drm-next-4.9' of git://people.freedesktop.org/~agd5f/linux into drm...
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
gmc_v8_0.c
diff --git
a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
index
84c10d5
..
1b319f5
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
@@
-269,8
+269,10
@@
static int gmc_v8_0_mc_load_microcode(struct amdgpu_device *adev)
/* Skip MC ucode loading on SR-IOV capable boards.
* vbios does this for us in asic_init in that case.
/* Skip MC ucode loading on SR-IOV capable boards.
* vbios does this for us in asic_init in that case.
+ * Skip MC ucode loading on VF, because hypervisor will do that
+ * for this adaptor.
*/
*/
- if (a
dev->virtualization.supports_sr_iov
)
+ if (a
mdgpu_sriov_bios(adev)
)
return 0;
hdr = (const struct mc_firmware_header_v1_0 *)adev->mc.fw->data;
return 0;
hdr = (const struct mc_firmware_header_v1_0 *)adev->mc.fw->data;