diff options
| author | Alain Volmat <[email protected]> | 2022-01-10 11:37:39 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-01-23 21:18:43 +0100 |
| commit | c1b403352c5de09338e7a5ae65104398d9b2e76c (patch) | |
| tree | 692c9948443033ce6d0fa30640a60133544191a7 /tools/perf/scripts/python/libxed.py | |
| parent | fc5004e5d477cb77a00c9827de395ba708a2cd2a (diff) | |
media: stm32: dcmi: create a dma scatterlist based on DMA max_sg_burst value
Prior to submitting a transfer to the DMA, the client should first check
the capabilities of the DMA channel in term of maximum of each segment.
This is given by the max_sg_burst value reported by dma_get_slave_caps API.
Based on that, if the transfer is larger than what can be handled by the
DMA channel, we split the transfer into several scatterlist elements.
[hverkuil: fix checkpatch parenthesis alignment warning]
Signed-off-by: Alain Volmat <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions