Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ASoC: rsnd: DMA power fix and IOMMU support
@ 2016-11-14  4:19 Kuninori Morimoto
  2016-11-14  4:20 ` [PATCH v3 1/2] ASoC: rsnd: Request/Release DMA channel each time Kuninori Morimoto
  2016-11-14  4:20 ` [PATCH v3 2/2] ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU Kuninori Morimoto
  0 siblings, 2 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2016-11-14  4:19 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA, Simon, Laurent



Hi Mark
Cc Laurent

These are v3 of Renesas sound DMA patches.

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):
  ASoC: rsnd: Request/Release DMA channel each time
  ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU

 sound/soc/sh/rcar/core.c |   4 +-
 sound/soc/sh/rcar/dma.c  | 267 +++++++++++++++++++++++++++++++++--------------
 2 files changed, 188 insertions(+), 83 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-22 17:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-14  4:19 [PATCH v3 0/2] ASoC: rsnd: DMA power fix and IOMMU support Kuninori Morimoto
2016-11-14  4:20 ` [PATCH v3 1/2] ASoC: rsnd: Request/Release DMA channel each time Kuninori Morimoto
2016-11-22 17:26   ` Applied "ASoC: rsnd: Request/Release DMA channel each time" to the asoc tree Mark Brown
2016-11-14  4:20 ` [PATCH v3 2/2] ASoC: rsnd: use dma_sync_single_for_xxx() for IOMMU Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox