On 2023-08-22 11:41, Deucher, Alexander wrote:
[Public]

-----Original Message-----
From: Sasha Levin <[email protected]>
Sent: Tuesday, August 22, 2023 7:37 AM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Kuehling, Felix
<[email protected]>; Koenig, Christian <[email protected]>;
Mike Lothian <[email protected]>; Sasha Levin <[email protected]>; Pan,
Xinhui <[email protected]>; [email protected]; [email protected]; amd-
[email protected]; [email protected]
Subject: [PATCH AUTOSEL 5.15 6/6] drm/amdkfd: ignore crat by default

From: Alex Deucher <[email protected]>

[ Upstream commit a6dea2d64ff92851e68cd4e20a35f6534286e016 ]

We are dropping the IOMMUv2 path, so no need to enable this.
It's often buggy on consumer platforms anyway.
This is not needed for stable.

I agree. I was about to comment in the 5.10 patch as well.

Regards,
  Felix



Alex

Reviewed-by: Felix Kuehling <[email protected]>
Acked-by: Christian König <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
---
  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 e574aa32a111d..46dfd9baeb013 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_crat.c
@@ -1523,11 +1523,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.40.1

Reply via email to