diff options
| author | Emily Deng <[email protected]> | 2019-12-02 17:53:10 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-12-02 22:39:28 +0000 |
| commit | 0ea203a91247082f1294e6aa6e7802914665da50 (patch) | |
| tree | e9dbf34e4c7b536cba7fa52b91b359f256df9307 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: Added ASIC specific checks in gfxhub V1.1 get XGMI info (diff) | |
| download | kernel-0ea203a91247082f1294e6aa6e7802914665da50.tar.gz kernel-0ea203a91247082f1294e6aa6e7802914665da50.zip | |
drm/amdgpu/sriov: No need the event 3 and 4 now
As will call unload kms when initialize fail, and the unload kms will
send event 3 and 4, so don't need event 3 and 4 in device init.
Signed-off-by: Emily Deng <[email protected]>
Reviewed-by: Zhan Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index baee37c92352..dd46199287d8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3018,8 +3018,6 @@ fence_driver_init: } dev_err(adev->dev, "amdgpu_device_ip_init failed\n"); amdgpu_vf_error_put(adev, AMDGIM_ERROR_VF_AMDGPU_INIT_FAIL, 0, 0); - if (amdgpu_virt_request_full_gpu(adev, false)) - amdgpu_virt_release_full_gpu(adev, false); goto failed; } |
