diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 57267ac265f0..ee2a5f9a32f0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |||
| @@ -2390,6 +2390,9 @@ int amdgpu_device_init(struct amdgpu_device *adev, | |||
| 2390 | amdgpu_virt_mmio_blocked(adev) && | 2390 | amdgpu_virt_mmio_blocked(adev) && |
| 2391 | !amdgpu_virt_wait_reset(adev)) { | 2391 | !amdgpu_virt_wait_reset(adev)) { |
| 2392 | dev_err(adev->dev, "VF exclusive mode timeout\n"); | 2392 | dev_err(adev->dev, "VF exclusive mode timeout\n"); |
| 2393 | /* Don't send request since VF is inactive. */ | ||
| 2394 | adev->virt.caps &= ~AMDGPU_SRIOV_CAPS_RUNTIME; | ||
| 2395 | adev->virt.ops = NULL; | ||
| 2393 | r = -EAGAIN; | 2396 | r = -EAGAIN; |
| 2394 | goto failed; | 2397 | goto failed; |
| 2395 | } | 2398 | } |
