All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] SoC: SOF: ipc: Optimizations for tx message
@ 2022-01-28 13:36 Peter Ujfalusi
  2022-01-28 13:36 ` [PATCH 1/3] ASoC: SOF: Intel: cnl: Use pm_gate->hdr.cmd in cnl_compact_ipc_compress() Peter Ujfalusi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peter Ujfalusi @ 2022-01-28 13:36 UTC (permalink / raw)
  To: lgirdwood, broonie
  Cc: alsa-devel, kai.vehmanen, yung-chuan.liao, pierre-louis.bossart,
	ranjani.sridharan, rander.wang, daniel.baluta

Hi,

The series will drop the internal use of 'header' parameter which is always
set to hdr->cmd.

The other simplification is to use the provided message directly as it is
guarantied to be valid throughout the message sending and we can save memory
by not allocating a temporary buffer, also saving on needles memcpy()
operations.

Regards,
Peter
---
Peter Ujfalusi (3):
  ASoC: SOF: Intel: cnl: Use pm_gate->hdr.cmd in
    cnl_compact_ipc_compress()
  ASoC: SOF: ipc: Drop header parameter from
    sof_ipc_tx_message_unlocked()
  ASoC: SOF: ipc: Do not allocate buffer for msg_data

 sound/soc/sof/intel/cnl.c |  6 ++----
 sound/soc/sof/ipc.c       | 24 ++++++++++++------------
 2 files changed, 14 insertions(+), 16 deletions(-)

-- 
2.35.0


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

end of thread, other threads:[~2022-01-28 23:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-28 13:36 [PATCH 0/3] SoC: SOF: ipc: Optimizations for tx message Peter Ujfalusi
2022-01-28 13:36 ` [PATCH 1/3] ASoC: SOF: Intel: cnl: Use pm_gate->hdr.cmd in cnl_compact_ipc_compress() Peter Ujfalusi
2022-01-28 13:36 ` [PATCH 2/3] ASoC: SOF: ipc: Drop header parameter from sof_ipc_tx_message_unlocked() Peter Ujfalusi
2022-01-28 13:36 ` [PATCH 3/3] ASoC: SOF: ipc: Do not allocate buffer for msg_data Peter Ujfalusi
2022-01-28 23:47 ` [PATCH 0/3] SoC: SOF: ipc: Optimizations for tx message Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.