]> git.itanic.dy.fi Git - linux-stable/commitdiff
drm/amdkfd: ignore crat by default
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Jul 2023 15:45:53 +0000 (11:45 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Aug 2023 14:58:20 +0000 (10:58 -0400)
We are dropping the IOMMUv2 path, so no need to enable this.
It's often buggy on consumer platforms anyway.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c

index 49f40d9f16e8652e79582d13d5bcc95e26f4a5ad..f5a6f562e2a80392ca135000f3ab579d0114aa2b 100644 (file)
@@ -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;
 }