Commit 006a0b3d authored by Shaoyun Liu's avatar Shaoyun Liu Committed by Alex Deucher

drm/amdkfd: Remove the requirement for atomic Ops on vg20

Firmware have the workaround to replace the atomic Ops with read-modify-write on CP side.
User should not expect atomic Ops on system memory works normally if system didn't not
support it.
Signed-off-by: default avatarShaoyun Liu <Shaoyun.Liu@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-By: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d30e63b1
...@@ -247,7 +247,7 @@ static const struct kfd_device_info vega20_device_info = { ...@@ -247,7 +247,7 @@ static const struct kfd_device_info vega20_device_info = {
.mqd_size_aligned = MQD_SIZE_ALIGNED, .mqd_size_aligned = MQD_SIZE_ALIGNED,
.supports_cwsr = true, .supports_cwsr = true,
.needs_iommu_device = false, .needs_iommu_device = false,
.needs_pci_atomics = true, .needs_pci_atomics = false,
.num_sdma_engines = 2, .num_sdma_engines = 2,
.num_sdma_queues_per_engine = 8, .num_sdma_queues_per_engine = 8,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment