From: Takashi Iwai <tiwai@suse.de>
To: "Lin, Mengdong" <mengdong.lin@intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Lars-Peter Clausen <lars@metafoo.de>,
"Koul, Vinod" <vinod.koul@intel.com>,
"liam.r.girdwood@linux.intel.com"
<liam.r.girdwood@linux.intel.com>,
Mark Brown <broonie@kernel.org>, "Kp, Jeeja" <jeeja.kp@intel.com>,
"Prusty, Subhransu S" <subhransu.s.prusty@intel.com>,
"Patel, Vedang" <vedang.patel@intel.com>
Subject: Re: [PATCH v2 4/8] ASoC: topology: ABI - Add name element to snd_soc_tplg_stream
Date: Wed, 07 Oct 2015 12:04:19 +0200 [thread overview]
Message-ID: <s5hy4ff8064.wl-tiwai@suse.de> (raw)
In-Reply-To: <F46914AEC2663F4A9BB62374E5EEF8F84B85136A@shsmsx102.ccr.corp.intel.com>
On Wed, 07 Oct 2015 11:48:37 +0200,
Lin, Mengdong wrote:
>
> > -----Original Message-----
> > From: Mark Brown [mailto:broonie@kernel.org]
> > Sent: Wednesday, October 07, 2015 1:37 AM
> > To: Lars-Peter Clausen
> > Cc: Koul, Vinod; alsa-devel@alsa-project.org; tiwai@suse.de; Lin, Mengdong;
> > liam.r.girdwood@linux.intel.com; Kp, Jeeja; Prusty, Subhransu S; Patel,
> > Vedang
> > Subject: Re: [alsa-devel] [PATCH v2 4/8] ASoC: topology: ABI - Add name
> > element to snd_soc_tplg_stream
> >
> > On Tue, Oct 06, 2015 at 06:35:28PM +0200, Lars-Peter Clausen wrote:
> > > On 10/06/2015 06:25 PM, Mark Brown wrote:
> >
> > > > The problem isn't detecting the error, the point is that if someone
> > > > upgrades their kernel and someone changed the DAI link name then
> > > > their existing userspace will break. We don't want that error to be
> > > > there to be detected in the first place.
> >
> > > Another thing to consider is that the topology firmware might be
> > > developed against a non-upstream driver. And in order for the driver
> > > to go upstream it needs changes that breaks the ABI interface to the
> > > firmware which is already shipped and the vendor might not provide
> > > support for updating the firmware file. Having these kind of tightly
> > > coupled interdependencies between driver and firmware is quite risky
> > business.
> >
> > Yeah, I think we're kind of stuck with some degree of fairly tight coupling at
> > some point though - at some point we're going to need to work out which
> > link in the driver corresponds to which link in the firmware file.
>
> There is a 'version' field in struct snd_soc_tplg_hdr, which is a vendor-specific version number.
> The driver can check this field of a firmware topology and decide whether to support this firmware or not.
>
> Is this okay?
Well, you can't assure that the third vendor would set that field
always right. I won't bet it, as the odds are too bad :)
How about to allow leaving this name empty as default? Or better to
ask: what's the exact merit of having strict binding to DAI link?
thanks,
Takashi
next prev parent reply other threads:[~2015-10-07 10:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-30 9:28 [PATCH v2 0/8] ASoC: topology: ABI - Add support for PCM, BE & CC link mengdong.lin
2015-09-30 9:28 ` [PATCH v2 1/8] ASoC: topology: ABI - Add PCM Support and bump ABI version to 4 mengdong.lin
2015-09-30 9:29 ` [PATCH v2 2/8] ASoC: topology: ABI - Remove unused struct snd_soc_tplg_stream_config mengdong.lin
2015-09-30 9:30 ` [PATCH v2 3/8] ASoC: topology: ABI - Use __le32 instead of __u32 in snd_soc_tplg_dapm_widget mengdong.lin
2015-09-30 9:31 ` [PATCH v2 4/8] ASoC: topology: ABI - Add name element to snd_soc_tplg_stream mengdong.lin
2015-10-02 16:59 ` Mark Brown
2015-10-02 18:04 ` Liam Girdwood
2015-10-06 8:55 ` Lin, Mengdong
2015-10-06 10:34 ` Mark Brown
2015-10-06 15:16 ` Koul, Vinod
2015-10-06 16:25 ` Mark Brown
2015-10-06 16:35 ` Lars-Peter Clausen
2015-10-06 17:36 ` Mark Brown
2015-10-07 9:48 ` Lin, Mengdong
2015-10-07 10:04 ` Takashi Iwai [this message]
2015-10-07 10:23 ` Mark Brown
2015-10-07 10:08 ` Mark Brown
2015-10-06 15:06 ` Lin, Mengdong
2015-09-30 9:31 ` [PATCH v2 5/8] ASoC: topology: ABI - Change stream formats to a bitwise flag mengdong.lin
2015-09-30 9:32 ` [PATCH v2 6/8] ASoC: topology: ABI - Add the type for BE DAI link mengdong.lin
2015-09-30 9:32 ` [PATCH v2 7/8] ASoC: topology: ABI - Add configuration for BE & Codec-Codec DAI Links mengdong.lin
2015-09-30 9:32 ` [PATCH v2 8/8] ASoC: topology: ABI - Remove tdm_slot & dai_fmt from snd_soc_tplg_stream mengdong.lin
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=s5hy4ff8064.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jeeja.kp@intel.com \
--cc=lars@metafoo.de \
--cc=liam.r.girdwood@linux.intel.com \
--cc=mengdong.lin@intel.com \
--cc=subhransu.s.prusty@intel.com \
--cc=vedang.patel@intel.com \
--cc=vinod.koul@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.