drm/amdkfd: PCIe atomics required for gfx10
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Wed, 16 Dec 2020 22:04:23 +0000 (17:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Dec 2020 21:43:14 +0000 (16:43 -0500)
commit6cc980e3f52e2e8db6d0d3bad076b495bd492658
treefc647be19da8cc07dda55e17b7657a25792b79e7
parent6ae09fa49147e557eb6aebbb5b2059b63706d454
drm/amdkfd: PCIe atomics required for gfx10

GFX10 CP firmware expects PCIe atomics support. Don't enumerate GFX10
devices on platforms (PCIe v2) that don't support PCIe atomics.

Currently, some of the applications like clinfo soft hangs on platforms
without PCIe atomics support.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c