AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 1/5] drm/amdkfd: ignore crat by default
@ 2023-08-07 22:05 Alex Deucher
  2023-08-07 22:05 ` [PATCH V2 2/5] drm/amdkfd: disable IOMMUv2 support for KV/CZ Alex Deucher
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Alex Deucher @ 2023-08-07 22:05 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

We are dropping the IOMMUv2 path, so no need to enable this.
It's often buggy on consumer platforms anyway.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_crat.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
index 49f40d9f16e86..f5a6f562e2a80 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
@@ -1543,11 +1543,7 @@ static bool kfd_ignore_crat(void)
 	if (ignore_crat)
 		return true;
 
-#ifndef KFD_SUPPORT_IOMMU_V2
 	ret = true;
-#else
-	ret = false;
-#endif
 
 	return ret;
 }
-- 
2.41.0


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

end of thread, other threads:[~2023-08-11 13:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07 22:05 [PATCH V2 1/5] drm/amdkfd: ignore crat by default Alex Deucher
2023-08-07 22:05 ` [PATCH V2 2/5] drm/amdkfd: disable IOMMUv2 support for KV/CZ Alex Deucher
2023-08-07 22:05 ` [PATCH V2 3/5] drm/amdkfd: disable IOMMUv2 support for Raven Alex Deucher
2023-08-07 22:05 ` [PATCH V2 4/5] drm/amdkfd: drop IOMMUv2 support Alex Deucher
2023-08-07 22:05 ` [PATCH V2 5/5] drm/amdkfd: rename device_queue_manager_init_v10_navi10() Alex Deucher
2023-08-08 14:59 ` [PATCH V2 1/5] drm/amdkfd: ignore crat by default Christian König
2023-08-08 15:03   ` Mike Lothian
2023-08-08 19:06 ` Felix Kuehling
2023-08-11 13:41 ` Jason Gunthorpe
2023-08-11 13:46   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox