]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: SOF: Intel: hda: add quirks for HDAudio DMA position information
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 7 Dec 2021 19:39:45 +0000 (13:39 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 13 Dec 2021 19:32:51 +0000 (19:32 +0000)
commit288fad2f71fa0b989c075d4984879c26d47cfb06
tree12fe2ff3a818c58c4de4a467042f01e627e5685f
parentae81d8fd57ff7d2b421c80f0f9426d9e775023b5
ASoC: SOF: Intel: hda: add quirks for HDAudio DMA position information

The code inherited from the Skylake driver does not seem to follow any
known hardware recommendations.

The only two recommended options are
a) use DPIB registers if VC1 traffic is not allowed
b) use DPIB DDR update if VC1 traffic is used

In all of SOF-based updated, VC1 is not supported so we can 'safely'
move to using DPIB registers only.

This patch keeps the legacy code, in case there was an undocumented
issue lost to history, and adds the DPIB DDR update for additional
debug.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211207193947.71080-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-pcm.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h