]> 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)
commitee9f015469e7d941667f9bbbe843127e346db68e
treefc647be19da8cc07dda55e17b7657a25792b79e7
parent9845262ff6af57359998b9d97d97a8ee8c50b97b
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