[PATCH AUTOSEL 6.4 09/11] drm/amdkfd: ignore crat by default
Deucher, Alexander
Alexander.Deucher at amd.com
Tue Aug 22 15:41:17 UTC 2023
[Public]
> -----Original Message-----
> From: Sasha Levin <sashal at kernel.org>
> Sent: Tuesday, August 22, 2023 7:36 AM
> To: linux-kernel at vger.kernel.org; stable at vger.kernel.org
> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Kuehling, Felix
> <Felix.Kuehling at amd.com>; Koenig, Christian <Christian.Koenig at amd.com>;
> Mike Lothian <mike at fireburn.co.uk>; Sasha Levin <sashal at kernel.org>; Pan,
> Xinhui <Xinhui.Pan at amd.com>; airlied at gmail.com; daniel at ffwll.ch; amd-
> gfx at lists.freedesktop.org; dri-devel at lists.freedesktop.org
> Subject: [PATCH AUTOSEL 6.4 09/11] drm/amdkfd: ignore crat by default
>
> From: Alex Deucher <alexander.deucher at amd.com>
>
> [ 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.
Alex
> Reviewed-by: Felix Kuehling <Felix.Kuehling at amd.com>
> Acked-by: Christian König <christian.koenig at amd.com>
> Tested-by: Mike Lothian <mike at fireburn.co.uk>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> Signed-off-by: Sasha Levin <sashal at kernel.org>
> ---
> 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 475e470273540..ee0cc35d68a84 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.40.1
More information about the dri-devel
mailing list