diff options
author | Shaoyun Liu | 2018-02-09 22:29:14 +0100 |
---|---|---|
committer | Alex Deucher | 2018-09-27 04:09:16 +0200 |
commit | d50941892ed9d18792271b2b06c8842a7a14b54d (patch) | |
tree | 095cdfb345415611c07ae47f6e146559d8531b01 /drivers/gpu/drm/amd/amdkfd/kfd_priv.h | |
parent | drm/amdgpu/sriov: Correct the setting about sdma doorbell offset of Vega10 (diff) | |
download | kernel-qcow2-linux-d50941892ed9d18792271b2b06c8842a7a14b54d.tar.gz kernel-qcow2-linux-d50941892ed9d18792271b2b06c8842a7a14b54d.tar.xz kernel-qcow2-linux-d50941892ed9d18792271b2b06c8842a7a14b54d.zip |
drm/amdkfd: Make the number of SDMA queues variable
Vega20 supports 8 SDMA queues per engine
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_priv.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h index 968098bf76dc..bf5bc6e27fb9 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_priv.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_priv.h @@ -176,6 +176,7 @@ struct kfd_device_info { bool needs_iommu_device; bool needs_pci_atomics; unsigned int num_sdma_engines; + unsigned int num_sdma_queues_per_engine; }; struct kfd_mem_obj { |