mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
b1f01e48df
MediaTek Command-Queue DMA controller (CQDMA) on MT6765 SoC is dedicated to memory-to-memory transfer through queue based descriptor management. There are only 3 physical channels inside CQDMA, while the driver is extended to support 32 virtual channels for multiple dma users to issue dma requests onto the CQDMA simultaneously. Signed-off-by: Shun-Chih Yu <shun-chih.yu@mediatek.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
27 lines
800 B
Plaintext
27 lines
800 B
Plaintext
|
|
config MTK_HSDMA
|
|
tristate "MediaTek High-Speed DMA controller support"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select DMA_ENGINE
|
|
select DMA_VIRTUAL_CHANNELS
|
|
---help---
|
|
Enable support for High-Speed DMA controller on MediaTek
|
|
SoCs.
|
|
|
|
This controller provides the channels which is dedicated to
|
|
memory-to-memory transfer to offload from CPU through ring-
|
|
based descriptor management.
|
|
|
|
config MTK_CQDMA
|
|
tristate "MediaTek Command-Queue DMA controller support"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select DMA_ENGINE
|
|
select DMA_VIRTUAL_CHANNELS
|
|
select ASYNC_TX_ENABLE_CHANNEL_SWITCH
|
|
help
|
|
Enable support for Command-Queue DMA controller on MediaTek
|
|
SoCs.
|
|
|
|
This controller provides the channels which is dedicated to
|
|
memory-to-memory transfer to offload from CPU.
|