diff options
author | 2023-01-13 20:13:46 +0300 | |
---|---|---|
committer | 2023-01-27 17:15:33 +0100 | |
commit | 13b6299cf66165a442089fa895a7f70250703584 (patch) | |
tree | 376e9d72ac77da27d6fb6196c0722bf7a5ba615c /drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c | |
parent | dmaengine: dw-edma: Convert ll/dt phys address to PCI bus/DMA address (diff) | |
download | wireguard-linux-13b6299cf66165a442089fa895a7f70250703584.tar.xz wireguard-linux-13b6299cf66165a442089fa895a7f70250703584.zip |
dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers
Interleaved DMA transfer support was added by 85e7518f42c8 ("dmaengine:
dw-edma: Add device_prep_interleave_dma() support"), but depending on the
selected channel, either source or destination address are left
uninitialized which was obviously wrong.
Initialize the destination address of the eDMA burst descriptors for
DEV_TO_MEM interleaved operations and the source address for MEM_TO_DEV
operations.
Link: https://lore.kernel.org/r/20230113171409.30470-5-Sergey.Semin@baikalelectronics.ru
Fixes: 85e7518f42c8 ("dmaengine: dw-edma: Add device_prep_interleave_dma() support")
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c')
0 files changed, 0 insertions, 0 deletions