commit | 246231fa95e4bb039c9e1207bfe43db563f8fee6 | [log] [tgz] |
---|---|---|
author | Prasanth Babu Mantena <p-mantena@ti.com> | Thu Feb 20 18:48:27 2025 +0530 |
committer | Tom Rini <trini@konsulko.com> | Fri Feb 28 08:38:48 2025 -0600 |
tree | 847201db3fb7359f2d83e2e30f325542fc653594 | |
parent | 2c0bbf18f35876faa03bdec9fc2f1f2330a8bb81 [diff] |
dma: ti: k3-udma: Avoid Memory leak issues during dma memcpy 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. Signed-off-by: Prasanth Babu Mantena <p-mantena@ti.com>