diff options
| author | Monk Liu <[email protected]> | 2016-03-31 05:26:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-09-19 18:45:52 +0000 |
| commit | 4e99a44e37bfed8c4f25c94687e8e4ac4ae65086 (patch) | |
| tree | e8a95a6c2135115ca60ee8ca6bde7d33746b60d0 /drivers/gpu/drm/amd/amdgpu/tonga_smc.c | |
| parent | drm/amdgpu: Use kmalloc_array() in amdgpu_debugfs_gca_config_read() (diff) | |
| download | kernel-4e99a44e37bfed8c4f25c94687e8e4ac4ae65086.tar.gz kernel-4e99a44e37bfed8c4f25c94687e8e4ac4ae65086.zip | |
drm/amdgpu:changes of virtualization cases probe (v3)
1,Changes on virtualization detections
2,Don't load smu & mc firmware if using sr-iov bios
3,skip vPost for sriov & force vPost if dev pass-through
v2: agd: squash in Rays's fix for the missed SI case
v3: agd: squash in additional fixes for CIK, SI, cleanup
Signed-off-by: Monk Liu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/tonga_smc.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/tonga_smc.c b/drivers/gpu/drm/amd/amdgpu/tonga_smc.c index 940de1836f8f..1e71e819468b 100644 --- a/drivers/gpu/drm/amd/amdgpu/tonga_smc.c +++ b/drivers/gpu/drm/amd/amdgpu/tonga_smc.c @@ -275,7 +275,7 @@ static int tonga_smu_upload_firmware_image(struct amdgpu_device *adev) /* Skip SMC ucode loading on SR-IOV capable boards. * vbios does this for us in asic_init in that case. */ - if (adev->virtualization.supports_sr_iov) + if (amdgpu_sriov_bios(adev)) return 0; hdr = (const struct smc_firmware_header_v1_0 *)adev->pm.fw->data; |
