diff options
author | Shaoyun Liu <Shaoyun.Liu@amd.com> | 2018-06-18 14:47:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-27 10:39:57 -0400 |
commit | 006a0b3d86e7cee0e38d0543c7a6e5dbbf12025e (patch) | |
tree | e0f61101cb9356542e41747d8644ddd68fb2703c | |
parent | d30e63b159b0a77fb14fd6e8f86f20115baaeb1a (diff) |
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: Shaoyun Liu <Shaoyun.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-By: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device.c b/drivers/gpu/drm/amd/amdkfd/kfd_device.c index cb96bdfc8f3e..a9f18ea7e354 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device.c | |||
@@ -247,7 +247,7 @@ static const struct kfd_device_info vega20_device_info = { | |||
247 | .mqd_size_aligned = MQD_SIZE_ALIGNED, | 247 | .mqd_size_aligned = MQD_SIZE_ALIGNED, |
248 | .supports_cwsr = true, | 248 | .supports_cwsr = true, |
249 | .needs_iommu_device = false, | 249 | .needs_iommu_device = false, |
250 | .needs_pci_atomics = true, | 250 | .needs_pci_atomics = false, |
251 | .num_sdma_engines = 2, | 251 | .num_sdma_engines = 2, |
252 | .num_sdma_queues_per_engine = 8, | 252 | .num_sdma_queues_per_engine = 8, |
253 | }; | 253 | }; |