1
0
Fork 0

drm/amdgpu: retry init if exclusive mode request is failed

This is caused of that hypervisor fails to handle request, one known
issue is MMIO unblocking timeout. In theory we can retry init here.

Signed-off-by: pding <Pixel.Ding@amd.com>
Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
hifive-unleashed-5.1
pding 2017-10-30 14:07:24 +08:00 committed by Alex Deucher
parent f47110330c
commit 5ffa61c1bd
1 changed files with 1 additions and 1 deletions

View File

@ -1625,7 +1625,7 @@ static int amdgpu_early_init(struct amdgpu_device *adev)
if (amdgpu_sriov_vf(adev)) {
r = amdgpu_virt_request_full_gpu(adev, true);
if (r)
return r;
return -EAGAIN;
}
for (i = 0; i < adev->num_ip_blocks; i++) {