diff options
author | Sia Jee Heng <jee.heng.sia@intel.com> | 2021-01-25 09:32:41 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-01 15:08:14 +0530 |
commit | 0b9d2fb368b97823a477221649ac82d17a9af11b (patch) | |
tree | 427d1511331769b888d998e8b20d63f94ffbbeee /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ef6fb2d6f1abd56cc067c694253ea362159b5ac3 (diff) |
dmaengine: dw-axi-dmac: move dma_pool_create() to alloc_chan_resources()
The DMA memory block is created at driver load time and exist for
device lifetime. Move the dma_pool_create() to the ->chan_resource()
callback function allowing the DMA memory blocks to be created as needed
and destroyed when the channel is freed.
Signed-off-by: Sia Jee Heng <jee.heng.sia@intel.com>
Tested-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Link: https://lore.kernel.org/r/20210125013255.25799-4-jee.heng.sia@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions