We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd10a9 commit 714d9e4Copy full SHA for 714d9e4
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2394,10 +2394,6 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
2394
if (r)
2395
goto init_failed;
2396
2397
- r = amdgpu_amdkfd_resume_iommu(adev);
2398
- if (r)
2399
- goto init_failed;
2400
-
2401
r = amdgpu_device_ip_hw_init_phase1(adev);
2402
2403
@@ -2436,6 +2432,10 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
2436
2432
if (!adev->gmc.xgmi.pending_reset)
2437
2433
amdgpu_amdkfd_device_init(adev);
2438
2434
2435
+ r = amdgpu_amdkfd_resume_iommu(adev);
+ if (r)
+ goto init_failed;
+
2439
amdgpu_fru_get_product_info(adev);
2440
2441
init_failed:
0 commit comments