diff options
author | Paul Cercueil <paul@crapouillou.net> | 2023-12-15 14:13:10 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-12-21 21:39:56 +0530 |
commit | 3f8fd25936ee5f52596f10d420f650c5b5e3285f (patch) | |
tree | afa608f5c4108eb7e471a9d51b1ec854f4b5a79f /drivers/reset/reset-intel-gw.c | |
parent | a2ab7045389feab1c26ebab105a8ad6bce74a4a7 (diff) |
dmaengine: axi-dmac: Allocate hardware descriptors
Change where and how the DMA transfers meta-data is stored, to prepare
for the upcoming introduction of scatter-gather support.
Allocate hardware descriptors in the format that the HDL core will be
expecting them when the scatter-gather feature is enabled, and use these
fields to store the data that was previously stored in the axi_dmac_sg
structure.
Note that the 'x_len' and 'y_len' fields now contain the transfer length
minus one, since that's what the hardware will expect in these fields.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20231215131313.23840-3-paul@crapouillou.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/reset/reset-intel-gw.c')
0 files changed, 0 insertions, 0 deletions