summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2026-07-13 13:03:28 -0400
committerVinod Koul <vkoul@kernel.org>2026-07-14 17:25:02 +0530
commitbed94a469f2ce783f17ac0699f26277bc3c74118 (patch)
treeb5d53f16db59a1de284729f847b7f305404c5cd8 /include/linux/debugobjects.h
parent3f3fa81cd2ace2c95a0368f2c6e6d1a1d983281a (diff)
dmaengine: dw-edma: Remove struct dw_edma_chunk
The current descriptor layout is: struct dw_edma_desc *desc └─ chunk list └─ burst[] Creating a DMA descriptor requires at least two kzalloc() calls because each chunk is allocated as a linked-list node. Since the number of bursts is already known when the descriptor is created, this linked-list layer is unnecessary. Move the burst array directly into struct dw_edma_desc and remove the struct dw_edma_chunk layer entirely. Use start_burst and done_burst to track the current bursts, which current are in the DMA link list. Tested-by: Koichiro Den <den@valinux.co.jp> Tested-By: Devendra Verma <devendra.verma@amd.com> Signed-off-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260713-edma_ll-v7-10-6fb7498c901e@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions