On Fri, 24 Jan 2020 20:04:01 +0100, Cezary Rojewski wrote:
This set of patches achieves few goals in order to enable data probing feature for audio DSP.
First, provide new and alter existing interfaces (page allocation, runtime flow adjustments) to make them compress friendly.
For HDA part, work has been done to account for compress streams when servicing IRQs, setting up BDLs and assigning DMAs.
Finally, the end goal which are the probe APIs and usage itself. Probes can be treated as endpoints which allow for data extraction from or injection to target module - a great ally when debugging problematic audio issues such as distortions, glitches or gaps. Compress streams are a weapon of choice here to provide a lightweight implementation.
While all available IPCs have been defined, current implementation covers extraction only, with injection scheduled for a later date.
Initial review and development of probes can be found under: https://github.com/thesofproject/linux/pull/1276
with the hda-compress-enable set of patches being separated and reviewed on: https://github.com/thesofproject/linux/pull/1571
Tested on CML-U with rt5682 i2s board.
Cezary Rojewski (12): ALSA: hda: Allow for compress stream to hdac_ext_stream assignment ALSA: hda: Prepare for compress stream support ALSA: hda: Interrupt servicing and BDL setup for compress streams ALSA: core: Expand DMA buffer information ALSA: core: Implement compress page allocation and free routines
For ALSA hda and core patches: Reviewed-by: Takashi Iwai tiwai@suse.de
thanks,
Takashi