[PATCH V2 1/5] drm/amdkfd: ignore crat by default

Felix Kuehling felix.kuehling at amd.com
Tue Aug 8 19:06:13 UTC 2023


On 2023-08-07 18:05, Alex Deucher wrote:
> 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 at amd.com>

The series is

Reviewed-by: Felix Kuehling <Felix.Kuehling at 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;
>   }


More information about the amd-gfx mailing list