[alsa-devel] [PATCH 0/2 v2][resend] ASoC: rsnd: DMA power fix and IOMMU support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Nov 14 02:23:56 CET 2016


Hi Mark
Cc Laurent

These are v2 remain of Renesas sound DMA patches.
[1/4] [2/4] were accepted, [3/4] [4/4] are not.

1) patch controls Audio-DMAC power.
Current driver gets DMAEngile handle when .probe() timing,
and release it on .remove() timing. But Audio-DMAC power
ON/OFF are related to this timing. This means Audio-DMAC
always ON Now.
Basically, this kind of DMAC power control should be handled
by DMAEngile, but current DMAEngile can't handle
pm_runtime_xxx on atomic context.
Because of this DMAEngile API issue, the *better* solution 
is get DMAEngile handle on every playback timing.

Kuninori Morimoto (2):
      1) ASoC: rsnd: Request/Release DMA channel each time
      2) ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU

 sound/soc/sh/rcar/core.c |   4 +--
 sound/soc/sh/rcar/dma.c  | 266 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list