diff options
author | Ramesh Babu <ramesh.babu@intel.com> | 2017-06-19 09:29:19 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-19 18:33:00 +0300 |
commit | 939df3ada789ccd61a01721df8fc7955aab3aad7 (patch) | |
tree | 26a72620942d905e3843f946ab5913657465934b /sound/soc/intel/skylake/skl-topology.c | |
parent | 0931352dcb4d2019bf1ec2a5457a41d1d6566509 (diff) | |
download | linux-939df3ada789ccd61a01721df8fc7955aab3aad7.tar.xz |
ASoC: Intel: Skylake: Add deep buffer support
With this patch, the dma buffer size is fetched from topology binary. This
buffer size is applicable for gateway copier modules.
Now that we can configure DSP dma buffer size, the device can support deep
buffer playback. DSP fetches large buffer and can result fewer wakes,
which helps in power reduction.
Signed-off-by: Ramesh Babu <ramesh.babu@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-topology.c')
-rw-r--r-- | sound/soc/intel/skylake/skl-topology.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c index 212cee71d586..9569f118e97e 100644 --- a/sound/soc/intel/skylake/skl-topology.c +++ b/sound/soc/intel/skylake/skl-topology.c @@ -2212,6 +2212,10 @@ static int skl_tplg_get_token(struct device *dev, break; + case SKL_TKN_U32_DMA_BUF_SIZE: + mconfig->dma_buffer_size = tkn_elem->value; + break; + case SKL_TKN_U8_IN_PIN_TYPE: case SKL_TKN_U8_OUT_PIN_TYPE: case SKL_TKN_U8_CONN_TYPE: |