drm/amdgpu: vBIOS post only call when mem_size zero
[deliverable/linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_device.c
index 1996670b675151a18c1e180aff5e92a5f8af211b..1727a4d998a42aef55c96ae13a803fe540bc06cf 100644 (file)
@@ -1518,8 +1518,7 @@ int amdgpu_device_init(struct amdgpu_device *adev,
                amdgpu_atombios_has_gpu_virtualization_table(adev);
 
        /* Post card if necessary */
-       if (!amdgpu_card_posted(adev) ||
-           adev->virtualization.supports_sr_iov) {
+       if (!amdgpu_card_posted(adev)) {
                if (!adev->bios) {
                        dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n");
                        return -EINVAL;
This page took 0.0248660000000001 seconds and 5 git commands to generate.