diff options
author | Paul Cercueil <[email protected]> | 2023-12-15 14:13:10 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-12-21 21:39:56 +0530 |
commit | 3f8fd25936ee5f52596f10d420f650c5b5e3285f (patch) | |
tree | afa608f5c4108eb7e471a9d51b1ec854f4b5a79f /lib/netdev-notifier-error-inject.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions