Skip to content

ASoC: Intel: catpt: Offload fixes and code optimization

Cezary Rojewski alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: Intel: catpt: Skip position update for unprepared streamssound/soc/intel/catpt/pcm.c+2 -00 replies
2/5ASoC: Intel: catpt: Correct clock selection for dai triggersound/soc/intel/catpt/pcm.c+2 -50 replies
3/5ASoC: Intel: catpt: Optimize applying user settingssound/soc/intel/catpt/pcm.c+52 -520 replies
4/5ASoC: Intel: catpt: Streamline power routines across LPT and WPTsound/soc/intel/catpt/core.h sound/soc/intel/catpt/device.c sound/soc/intel/catpt/dsp.c+18 -160 replies
5/5ASoC: Intel: catpt: Cleanup after power routines streamliningsound/soc/intel/catpt/core.h sound/soc/intel/catpt/dsp.c+0 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] ASoC: Intel: catpt: Offload fixes and code optimization

First two of the series address bugs connected mainly to offload streams:
- scenarios with very low buffer sizes: RESET_STREAM IPC timeouts
- fix lp clock selection when switching between PAUSE <-> RESUME states:
glitches on first offload when no additional stream is opened simultaneously

Follow ups are: code reduction and optimization oriented patches. This has been foretold in:

[PATCH v10 00/14] ASoC: Intel: Catpt - Lynx and Wildcat point
https://www.spinics.net/lists/alsa-devel/msg116440.html
Note: LPT power up/down sequences might get aligned with WPT once enough testing is done as capabilities are shared for both DSPs.

First, optimize applying of user settings - prevent redundand calls from happening - and then as mentioned above, streamline power on/off sequence for LPT and WPT.

Cezary Rojewski (5):
ASoC: Intel: catpt: Skip position update for unprepared streams
ASoC: Intel: catpt: Correct clock selection for dai trigger
ASoC: Intel: catpt: Optimize applying user settings
ASoC: Intel: catpt: Streamline power routines across LPT and WPT
ASoC: Intel: catpt: Cleanup after power routines streamlining

 sound/soc/intel/catpt/core.h   |  10 ++-
 sound/soc/intel/catpt/device.c |  18 +++---
 sound/soc/intel/catpt/dsp.c    |  56 ++--------------
 sound/soc/intel/catpt/pcm.c    | 113 ++++++++++++++++-----------------
 4 files changed, 74 insertions(+), 123 deletions(-)
Signature · 1 line
2.17.1