aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSreekant Somasekharan <sreekant.somasekharan@amd.com>2024-11-28 12:05:56 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-12-02 18:34:52 -0500
commit33114f1057ea5cf40e604021711a9711a060fcb6 (patch)
tree801da23a6f1eaee2f9fb54f2cd0539ac7444215d
parentdrm/amd/display: Fix programming backlight on OLED panels (diff)
downloadwireguard-linux-33114f1057ea5cf40e604021711a9711a060fcb6.tar.xz
wireguard-linux-33114f1057ea5cf40e604021711a9711a060fcb6.zip
drm/amdkfd: add MEC version that supports no PCIe atomics for GFX12
Add MEC version from which alternate support for no PCIe atomics is provided so that device is not skipped during KFD device init in GFX1200/GFX1201. Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.11.x
-rw-r--r--drivers/gpu/drm/amd/amdkfd/kfd_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
index 956198da7859..9b51dd75fefc 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c
@@ -235,6 +235,9 @@ static void kfd_device_info_init(struct kfd_dev *kfd,
*/
kfd->device_info.needs_pci_atomics = true;
kfd->device_info.no_atomic_fw_version = kfd->adev->gfx.rs64_enable ? 509 : 0;
+ } else if (gc_version < IP_VERSION(13, 0, 0)) {
+ kfd->device_info.needs_pci_atomics = true;
+ kfd->device_info.no_atomic_fw_version = 2090;
} else {
kfd->device_info.needs_pci_atomics = true;
}