Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] ASoC: SOF: refactor duplicated code between Intel and i.MX8
@ 2019-08-07 15:01 Pierre-Louis Bossart
  2019-08-07 15:01 ` [PATCH 1/6] ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init Pierre-Louis Bossart
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Pierre-Louis Bossart @ 2019-08-07 15:01 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai, broonie, Pierre-Louis Bossart

During the initial i.MX patch reviews on GitHub, we realized a lot of
the i.MX mailbox/window code was common with the Intel loader code
except for a couple of offsets. Most of the credit goes to Daniel
Baluta for working on this series which adds a better abstraction and
reduces code duplication. Comments from Keyon and Ranjani helped
remove unnecessary parts kept for historical reasons and improve the
code overall.

Daniel Baluta (6):
  ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init
  ASoC: SOF: Introduce snd_sof_dsp_get_mailbox_offset
  ASoC: SOF: Introduce snd_sof_dsp_get_window_offset
  ASoC: SOF: Intel: byt: Refactor fw ready / mem windows creation
  ASoC: SOF: Intel: bdw: Use generic function for fw ready / mem windows
    creation
  ASoC: SOF: Intel: hda: Use generic function for fw ready / mem windows
    creation

 sound/soc/sof/intel/apl.c     |   4 +-
 sound/soc/sof/intel/bdw.c     | 161 +++-----------------------------
 sound/soc/sof/intel/byt.c     | 169 ++++------------------------------
 sound/soc/sof/intel/cnl.c     |   4 +-
 sound/soc/sof/intel/hda-ipc.c | 150 +-----------------------------
 sound/soc/sof/intel/hda.h     |   4 +-
 sound/soc/sof/loader.c        | 168 +++++++++++++++++++++++++++++++++
 sound/soc/sof/ops.h           |  18 ++++
 sound/soc/sof/sof-priv.h      |   6 ++
 9 files changed, 237 insertions(+), 447 deletions(-)

-- 
2.20.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-08-09 12:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-07 15:01 [PATCH 0/6] ASoC: SOF: refactor duplicated code between Intel and i.MX8 Pierre-Louis Bossart
2019-08-07 15:01 ` [PATCH 1/6] ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Remove call to snd_sof_dsp_mailbox_init" to the asoc tree Mark Brown
2019-08-07 15:01 ` [PATCH 2/6] ASoC: SOF: Introduce snd_sof_dsp_get_mailbox_offset Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Introduce snd_sof_dsp_get_mailbox_offset" to the asoc tree Mark Brown
2019-08-07 15:02 ` [PATCH 3/6] ASoC: SOF: Introduce snd_sof_dsp_get_window_offset Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Introduce snd_sof_dsp_get_window_offset" to the asoc tree Mark Brown
2019-08-07 15:02 ` [PATCH 4/6] ASoC: SOF: Intel: byt: Refactor fw ready / mem windows creation Pierre-Louis Bossart
2019-08-07 19:07   ` Cezary Rojewski
2019-08-07 19:20     ` Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Intel: byt: Refactor fw ready / mem windows creation" to the asoc tree Mark Brown
2019-08-07 15:02 ` [PATCH 5/6] ASoC: SOF: Intel: bdw: Use generic function for fw ready / mem windows creation Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Intel: bdw: Use generic function for fw ready / mem windows creation" to the asoc tree Mark Brown
2019-08-07 15:02 ` [PATCH 6/6] ASoC: SOF: Intel: hda: Use generic function for fw ready / mem windows creation Pierre-Louis Bossart
2019-08-09 12:31   ` Applied "ASoC: SOF: Intel: hda: Use generic function for fw ready / mem windows creation" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox