mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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
This commit is contained in:
parent
1c09386201
commit
33114f1057
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user