]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf56b3b285369f5945b86e9b71913bbf650087108
treefc647be19da8cc07dda55e17b7657a25792b79e7
parent59438f524e603ffa0fc740425731372860b72ff0
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