All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu: remove duplicated kfd_resume_iommu
@ 2021-11-03  1:33 James Zhu
  2021-11-03  2:01 ` Alex Deucher
  2021-11-03 15:40 ` Alex Deucher
  0 siblings, 2 replies; 11+ messages in thread
From: James Zhu @ 2021-11-03  1:33 UTC (permalink / raw)
  To: amd-gfx; +Cc: alexander.deucher, yifan1.zhang, jzhums, zarniwhoop

Remove duplicated kfd_resume_iommu which already runs
in mdgpu_amdkfd_device_init.

Signed-off-by: James Zhu <James.Zhu@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index e56bc925afcf..f77823ce7ae8 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -2398,10 +2398,6 @@ static int amdgpu_device_ip_init(struct amdgpu_device *adev)
 	if (!adev->gmc.xgmi.pending_reset)
 		amdgpu_amdkfd_device_init(adev);
 
-	r = amdgpu_amdkfd_resume_iommu(adev);
-	if (r)
-		goto init_failed;
-
 	amdgpu_fru_get_product_info(adev);
 
 init_failed:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-05  2:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03  1:33 [PATCH] drm/amdgpu: remove duplicated kfd_resume_iommu James Zhu
2021-11-03  2:01 ` Alex Deucher
2021-11-03  2:50   ` Ken Moffat
2021-11-03 14:34   ` Zhu, James
2021-11-03 14:50     ` Alex Deucher
2021-11-03 15:03       ` Alex Deucher
2021-11-03 15:54         ` Zhu, James
2021-11-03 15:57           ` Alex Deucher
2021-11-05  2:31             ` Ken Moffat
2021-11-03 15:35       ` Alex Deucher
2021-11-03 15:40 ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.