diff options
author | Nicolin Chen <b42378@freescale.com> | 2024-03-29 15:34:41 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-07 13:19:25 +0200 |
commit | 802ef223101fec83d92e045f89000b228904a580 (patch) | |
tree | 1d7594ba532f8c05f1871ee263ec66c66df298da /drivers/dma/fsl-qdma.c | |
parent | dt-bindings: dma: snps,dma-spear1340: Fix data{-,_}width schema (diff) | |
download | linux-802ef223101fec83d92e045f89000b228904a580.tar.xz linux-802ef223101fec83d92e045f89000b228904a580.zip |
dmaengine: imx-sdma: Support allocate memory from internal SRAM (iram)
Allocate memory from SoC internal SRAM to reduce DDR access and keep DDR in
lower power state (such as self-referesh) longer.
Check iram_pool before sdma_init() so that ccb/context could be allocated
from iram because DDR maybe in self-referesh in lower power audio case
while sdma still running.
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240329-sdma_upstream-v4-1-daeb3067dea7@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-qdma.c')
0 files changed, 0 insertions, 0 deletions