diff options
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 1996670b6751..1727a4d998a4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
@@ -1518,8 +1518,7 @@ int amdgpu_device_init(struct amdgpu_device *adev, | |||
1518 | amdgpu_atombios_has_gpu_virtualization_table(adev); | 1518 | amdgpu_atombios_has_gpu_virtualization_table(adev); |
1519 | 1519 | ||
1520 | /* Post card if necessary */ | 1520 | /* Post card if necessary */ |
1521 | if (!amdgpu_card_posted(adev) || | 1521 | if (!amdgpu_card_posted(adev)) { |
1522 | adev->virtualization.supports_sr_iov) { | ||
1523 | if (!adev->bios) { | 1522 | if (!adev->bios) { |
1524 | dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n"); | 1523 | dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n"); |
1525 | return -EINVAL; | 1524 | return -EINVAL; |