From: Cezary Rojewski <cezary.rojewski@intel.com>
To: <linux-sound@vger.kernel.org>
Cc: <broonie@kernel.org>, <tiwai@suse.com>, <perex@perex.cz>,
<amade@asmblr.net>, <linux-kernel@vger.kernel.org>,
<pierre-louis.bossart@linux.dev>,
<yung-chuan.liao@linux.intel.com>, <vkoul@kernel.org>
Subject: Re: [PATCH v3 2/7] soundwire: intel: Allow for dynamic assignment of PDIs
Date: Fri, 6 Nov 2026 13:32:56 +0100 [thread overview]
Message-ID: <6abb40ed-fb19-40c3-92aa-0769e778d4b1@intel.com> (raw)
In-Reply-To: <20261106121557.2338556-3-cezary.rojewski@intel.com>
On 11/6/2026 1:15 PM, Cezary Rojewski wrote:
> Currently, PDIs are assigned upfront based on the DAI IDs. Some drivers
> do not assign anything upfront and request a free PDI when streaming is
> about to start.
>
> Provide assign/release() functions to allow them to be assigned
> dynamically. This also streamlines the process of assigning/releasing
> PDIs with what is done in HDAudio library (sound/hda) for HDAudio
> streams, see snd_hdac_stream_assign/release().
>
> As resource availability-check is typically done during dai->startup()
> whilst hardware/firmware configuration occurs on dai->hw_params(), add
> sdw_intel_pdi_config() to maintain this logical split - assign on
> start(), configure on hw_params(). Existing code does all of that in
> intel_hw_params() so the logical split is not possible.
>
> Cc: Vinod Koul <vkoul@kernel.org>
> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Scratch that, will send v4 soon. While rebasing messed up this commit.
next prev parent reply other threads:[~2026-11-06 12:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-06 12:15 [PATCH v3 0/7] ASoC: Intel: avs: Soundwire support Cezary Rojewski
2026-11-06 12:15 ` [PATCH v3 1/7] soundwire: intel: Define stubs when library is disabled Cezary Rojewski
2026-11-06 12:15 ` [PATCH v3 2/7] soundwire: intel: Allow for dynamic assignment of PDIs Cezary Rojewski
2026-11-06 12:26 ` sashiko-bot
2026-11-06 12:32 ` Cezary Rojewski [this message]
2026-11-06 19:59 ` kernel test robot
2026-11-06 12:15 ` [PATCH v3 3/7] soundwire: intel: Split PDIs and DAIs initialization Cezary Rojewski
2026-11-06 12:18 ` sashiko-bot
2026-11-06 12:15 ` [PATCH v3 4/7] ASoC: Intel: avs: Pass irq to dsp_interrupt callback Cezary Rojewski
2026-11-06 12:15 ` [PATCH v3 5/7] ASoC: Intel: avs: SoundWire support Cezary Rojewski
2026-11-06 12:33 ` sashiko-bot
2026-11-06 12:15 ` [PATCH v3 6/7] ASoC: Intel: avs: Expose common PCM functions Cezary Rojewski
2026-11-06 12:15 ` [PATCH v3 7/7] ASoC: Intel: avs: SoundWire PCM BE operations Cezary Rojewski
2026-11-06 12:41 ` sashiko-bot
2026-11-06 12:55 ` Pierre-Louis Bossart
2026-11-09 9:09 ` Cezary Rojewski
2026-11-10 8:02 ` Pierre-Louis Bossart
2026-11-10 9:18 ` Cezary Rojewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6abb40ed-fb19-40c3-92aa-0769e778d4b1@intel.com \
--to=cezary.rojewski@intel.com \
--cc=amade@asmblr.net \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.dev \
--cc=tiwai@suse.com \
--cc=vkoul@kernel.org \
--cc=yung-chuan.liao@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.