1# SPDX-License-Identifier: GPL-2.0-only 2# 3config AMD_PTDMA 4 tristate "AMD PassThru DMA Engine" 5 depends on X86_64 && PCI 6 select DMA_ENGINE 7 select DMA_VIRTUAL_CHANNELS 8 help 9 Enable support for the AMD PTDMA controller. This controller 10 provides DMA capabilities to perform high bandwidth memory to 11 memory and IO copy operations. It performs DMA transfer through 12 queue-based descriptor management. This DMA controller is intended 13 to be used with AMD Non-Transparent Bridge devices and not for 14 general purpose peripheral DMA. 15 16config AMD_QDMA 17 tristate "AMD Queue-based DMA" 18 depends on HAS_IOMEM 19 select DMA_ENGINE 20 select DMA_VIRTUAL_CHANNELS 21 select REGMAP_MMIO 22 help 23 Enable support for the AMD Queue-based DMA subsystem. The primary 24 mechanism to transfer data using the QDMA is for the QDMA engine to 25 operate on instructions (descriptors) provided by the host operating 26 system. Using the descriptors, the QDMA can move data in either the 27 Host to Card (H2C) direction or the Card to Host (C2H) direction. 28