[PATCH v2] dma: ti: k3-udma: Avoid Memory leak issues during dma memcpy
Tom Rini
trini at konsulko.com
Fri Feb 28 21:23:29 CET 2025
On Thu, 20 Feb 2025 18:48:27 +0530, Prasanth Babu Mantena wrote:
> During dma memcpy, bcdma descriptor gets allocated for each
> transaction and not freed after completion of that transaction.
> So, avoid the memory allocation for every transaction.
>
> Add one descriptor per dma device and allocate it once in
> resource setup. This descriptor can now be used for all
> dma memcpy transactions optimally.
>
> [...]
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list