diff options
author | Codrin Ciubotariu <[email protected]> | 2024-09-11 15:29:07 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-09-11 15:38:46 +0100 |
commit | 8f0280c84607afe122788e508a171ba163d71be6 (patch) | |
tree | 39ac1449d18fad8b8ab9134e7f0c9abac2d51414 /tools/perf/scripts/python/task-analyzer.py | |
parent | 0b0aa67baa8904e3c1e13be48a2ca125f59ead3d (diff) |
ASoC: atmel: mchp-pdmc: Improve maxburst calculation for better performance
Improve the DMA descriptor calculation by dividing the period size by the
product of sample size and DMA chunk size, rather than just DMA chunk size.
Ensure that all DMA descriptors start from a well-aligned address to
improve the reliability and efficiency of DMA operations and avoid
potential issues related to misaligned descriptors.
[[email protected]: Adjust the commit title. Reword the commit
message. Add MACROS for each DMA size chunk supported by mchp-pdmc.
Add DMA_BURST_ALIGNED preprocesor function to check the alignment of the
DMA burst.]
Signed-off-by: Codrin Ciubotariu <[email protected]>
Signed-off-by: Andrei Simion <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions