All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
	<alsa-devel@alsa-project.org>, <broonie@kernel.org>
Cc: hdegoede@redhat.com, tiwai@suse.com, amadeuszx.slawinski@linux.intel.com
Subject: Re: [PATCH 0/4] ASoC: Intel: Mark BE DAIs as nonatomic for hsw and
Date: Sat, 25 Jun 2022 10:29:47 +0200	[thread overview]
Message-ID: <3d9b45c0-b415-21d9-6af5-68fa1001ed17@intel.com> (raw)
In-Reply-To: <ac2b7d8b-a5be-4fac-169c-eaca185c9746@linux.intel.com>

On 2022-06-24 3:52 PM, Pierre-Louis Bossart wrote:
> On 6/24/22 08:43, Cezary Rojewski wrote:
>> Address the warning: "Codec: dpcm_be_connect: FE is nonatomic but BE is
>> not, forcing BE as nonatomic" by marking BE DAI as nonatomic. Aligns
>> with what is already done for FE DAIs.
>>
>> This patchset iterates the change over all HSW and BDW related machine
>> board drivers.
> 
> I don't think this is necessary, I was planning to demote this warning
> to a simple dev_dbg or possibly remove this message entirely.
> 
> The BE DAIs can perfectly be declared as non-atomic in all Intel machine
> drivers, except for SoundWire where there's a known delay during the
> .trigger.


Hmm.. that's a good feedback. Isn't ASoC's FE<->BE treated as a single 
PCM substream in sound/core/pcm_native.c though? If so, does it even 
make sense for card's BE DAI to be atomic, if it's FE counterpart is 
nonatomic already? Especially if it is specifying platform and cpu_dai 
that matches Intel's components which we know communicate using IPCs.

Warning is one thing, but will you be also getting rid of the 
if-statement in soc-pcm.c that actually forces nonatomic=1 on BE when FE 
is already declared as such? If the if-statement stays, I believe the 
declaring BE DAIs 'correctly' in the way to go.


Regards,
Czarek

  reply	other threads:[~2022-06-25  8:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 13:43 [PATCH 0/4] ASoC: Intel: Mark BE DAIs as nonatomic for hsw and Cezary Rojewski
2022-06-24 13:43 ` [PATCH 1/4] ASoC: Intel: hsw_rt5640: Mark BE DAI as nonatomic Cezary Rojewski
2022-06-24 13:43 ` [PATCH 2/4] ASoC: Intel: bdw_rt286: " Cezary Rojewski
2022-06-24 13:43 ` [PATCH 3/4] ASoC: Intel: bdw_rt5650: " Cezary Rojewski
2022-06-24 13:43 ` [PATCH 4/4] ASoC: Intel: bdw_rt5677: " Cezary Rojewski
2022-06-24 13:52 ` [PATCH 0/4] ASoC: Intel: Mark BE DAIs as nonatomic for hsw and Pierre-Louis Bossart
2022-06-25  8:29   ` Cezary Rojewski [this message]
2022-06-27 14:45     ` Pierre-Louis Bossart
2022-06-27 15:41       ` Cezary Rojewski
2022-06-27 15:59         ` Pierre-Louis Bossart
2022-06-27 16:13           ` Cezary Rojewski
2022-07-08 15:44       ` Mark Brown
2022-07-09  8:51         ` Cezary Rojewski
2022-07-15 18:56 ` Mark Brown

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=3d9b45c0-b415-21d9-6af5-68fa1001ed17@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.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.