From: Takashi Iwai <tiwai@suse.de>
To: Jaroslav Kysela <perex@perex.cz>
Cc: ALSA development <alsa-devel@alsa-project.org>,
Mark Brown <broonie@kernel.org>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>,
Kai Vehmanen <kai.vehmanen@linux.intel.com>
Subject: Re: [alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names
Date: Mon, 28 Oct 2019 15:23:07 +0100 [thread overview]
Message-ID: <s5h5zk9ar04.wl-tiwai@suse.de> (raw)
In-Reply-To: <149b2b82-f204-00ac-b3e4-6a1dd7de07ee@perex.cz>
On Sat, 26 Oct 2019 19:11:27 +0200,
Jaroslav Kysela wrote:
>
> Dne 26. 10. 19 v 9:37 Takashi Iwai napsal(a):
> > On Fri, 25 Oct 2019 23:03:26 +0200,
> > Jaroslav Kysela wrote:
> >>
> >> Dne 25. 10. 19 v 20:02 Kai Vehmanen napsal(a):
> >>> Hi Jaroslav and all,
> >>>
> >>> On Fri, 25 Oct 2019, Jaroslav Kysela wrote:
> >>>
> >>>> the single user. Another problem is that we are not able to review all those
> >>>> mistakes at the merge time. It is not a complain but a true fact.
> >>>
> >>> but the strings are in kernel patches, so even if all UCM files don't
> >>> go through the list, we can always review when the strings are added
> >>> in kernel, right?
> >>
> >> My point is that we already did this incomplete review (the wrong
> >> strings are in the current kernel). We cannot prevent to avoid those
> >> code merges, we are just human. I just don't think that the driver /
> >> control names should be part of the don't-break-the-userspace policy.
> >
> > It's a similar situation like the long-time discussion of tracing:
> > when the kernel broke latencytop by changing the tracing format, we
> > had to revert it in the end although the tracing format itself isn't
> > strictly a "standard kernel ABI". The consensus is: if upgrading the
> > kernel breaks anything *significant*, it's a regression and no-go.
> > It's not about whether it's a part of ABI or not.
> >
> > In our particular case, the strings you wanted to fix are the ones
> > that are actually hard-coded by the UCM profiles that are known to be
> > really used on major systems. That's the only reason of NAK. If it
> > were for some other minor kcontrol elements, it would have been OK.
> >
> > Kai's work to integrate SOF to the legacy HDMI driver would be also OK
> > because it provides the compatibility mode. That is, we have some
> > excuse that it's not us but users (distros) who actually breaks by
> > choosing the kernel configuration explicitly (and even there can be a
> > workaround with a module option).
>
> We can add another kernel option for this fix, too. If you like to move
> in this direction, I'll modify my patch.
I don't think it's worth for that. With Kai's patch set, we're going
to move (back) to the legacy HDMI codec driver in most cases, so these
strings will be specifically to the SST driver -- which are used by
only limited number of devices like Chromebook or such.
That said, if the reason for the change is just about consistency, the
best recipe is to forget it.
> The question is, if the kernel should provide a hint to the user space
> (UCM), that something *significant* changed. Perhaps, the component
> field in the control API might be used for this purpose as I already
> proposed. In this way, we can support both kernels (with old and new
> control names).
I'm afraid that the current UCM profile cannot handle any extension as
of now. We may need to introduce some incompatible extensibility at
first to UCM profile syntax. This can be a good topic for the next
meeting.
thanks,
Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2019-10-28 14:24 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 12:30 [alsa-devel] [PATCH] ASoC: change 'HDMI/DP, pcm=' to 'HDMI/DP, pcm=' Jack control names Jaroslav Kysela
2019-10-25 12:38 ` Takashi Iwai
2019-10-25 13:57 ` Jaroslav Kysela
2019-10-25 14:06 ` Takashi Iwai
2019-10-25 14:18 ` Jaroslav Kysela
2019-10-25 14:28 ` Takashi Iwai
2019-10-25 14:39 ` Jaroslav Kysela
2019-10-25 16:11 ` Takashi Iwai
2019-10-25 17:04 ` Jaroslav Kysela
2019-10-25 18:02 ` Kai Vehmanen
2019-10-25 21:03 ` Jaroslav Kysela
2019-10-26 7:37 ` Takashi Iwai
2019-10-26 17:11 ` Jaroslav Kysela
2019-10-28 14:23 ` Takashi Iwai [this message]
2019-10-25 14:49 ` Mark Brown
2019-10-25 12:44 ` Kai Vehmanen
2019-10-25 14:04 ` Jaroslav Kysela
2019-10-25 14:35 ` Pierre-Louis Bossart
2019-10-25 14:43 ` Jaroslav Kysela
2019-10-25 16:27 ` Peter Ujfalusi
2019-10-25 17:48 ` Kai Vehmanen
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=s5h5zk9ar04.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=kai.vehmanen@linux.intel.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@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.