Audio: use LLI dma transfer for audio firmware download.
authornamarta <namartax.kohli@intel.com>
Fri, 13 Apr 2012 05:05:45 +0000 (10:35 +0530)
committerbuildbot <buildbot@intel.com>
Fri, 13 Apr 2012 17:32:34 +0000 (10:32 -0700)
commit9e930a2916b8f21cbedcfd79d920779a4a85ccd0
tree84cac76e413a5fb34e904b26e2cb8162b2b20034
parent200b9a504a6c2b172999d4b7f4fea5fa4bcc88d6
Audio: use LLI dma transfer for audio firmware download.

BZ: 25658

Currently firmware is downloaded through single block dma mode.
This causes sst driver to submit block by block.

Add support for LLI (Linked list item also known as multi block) DMA transfer
in which driver can submit multiple DMA descriptor and then initiated
DMA just in one trigger. This will use DMA engine's capability effectively
thus reducing the time consumed in downloading the audio firmware.

This patch implements memory to memory LLI transfer mechanism in DMA driver
and modifies the SST driver to use the LLI capability.

Change-Id: I1b0ce209eae7eb3ae7392dfb66a34d8388610e71
Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Reviewed-on: http://android.intel.com:8080/40906
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Vinnakota, Lakshmi N <lakshmi.n.vinnakota@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/dma/intel_mid_dma.c
sound/pci/sst/intel_sst.c
sound/pci/sst/intel_sst_common.h
sound/pci/sst/intel_sst_drv_interface.c
sound/pci/sst/intel_sst_dsp.c