drm/amdkfd: Ignore ACPI CRAT for non-APU systems
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Sat, 9 Dec 2017 04:09:04 +0000 (23:09 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Sat, 9 Dec 2017 04:09:04 +0000 (23:09 -0500)
commitb441093e40e14d8305f0bee37cbaa3fa2e6ce8d0
treec83dcd9b459f8567d782389dc770c1c8e913f71e
parentebcfd1e276207e4436a6d15a81f7e151a103565c
drm/amdkfd: Ignore ACPI CRAT for non-APU systems

Some AMD motherboards without an APU have a broken CRAT table which
causes KFD initialization failures or incorrect information about
NUMA nodes, CPU cores or system memory. Ignore CRAT tables without
GPUs and rely on KFD's code to create a CRAT table for the CPU.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_topology.c