Skip to content

Commit 33114f1

Browse files
Sreekant Somasekharanalexdeucher
authored andcommitted
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
1 parent 1c09386 commit 33114f1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdkfd/kfd_device.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ static void kfd_device_info_init(struct kfd_dev *kfd,
235235
*/
236236
kfd->device_info.needs_pci_atomics = true;
237237
kfd->device_info.no_atomic_fw_version = kfd->adev->gfx.rs64_enable ? 509 : 0;
238+
} else if (gc_version < IP_VERSION(13, 0, 0)) {
239+
kfd->device_info.needs_pci_atomics = true;
240+
kfd->device_info.no_atomic_fw_version = 2090;
238241
} else {
239242
kfd->device_info.needs_pci_atomics = true;
240243
}

0 commit comments

Comments
 (0)