drm/amdkfd: Set number of xgmi optimized SDMA engines for arcturus
authorOak Zeng <Oak.Zeng@amd.com>
Wed, 5 Jun 2019 20:45:26 +0000 (15:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:05 +0000 (14:18 -0500)
some sdma engines are optimized for xgmi on arcturus.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c

index 511bc2523f2f568ba59b85c469133a6569e18425..cc22289c92d14a9a16dd09559b751eb610fcc12d 100644 (file)
@@ -329,7 +329,8 @@ static const struct kfd_device_info arcturus_device_info = {
        .supports_cwsr = true,
        .needs_iommu_device = false,
        .needs_pci_atomics = false,
-       .num_sdma_engines = 8,
+       .num_sdma_engines = 2,
+       .num_xgmi_sdma_engines = 6,
        .num_sdma_queues_per_engine = 8,
 };