[PATCH] ALSA: hda/hdmi: Add Intel silent stream support
Takashi Iwai
tiwai at suse.de
Wed Jun 24 18:43:52 CEST 2020
On Wed, 24 Jun 2020 17:33:45 +0200,
Pierre-Louis Bossart wrote:
>
>
> >>> The silent stream is enabled with a Kconfig option, as well as a kernel
> >>> parameter should there be a need to override the build time default.
> >>
> >> I'm not sure whether the module option is the best interface.
> >> An alternative is a mixer element that controls dynamically. Then
> >> it'll be per card unlike the module option.
> >
> > +1, kcontrol seems the appropriate way to control this.
>
> It was my suggestion to use Kconfig+kernel parameter for
> simplicity/overrides.
>
> The kcontrol is a nice idea, but in practice we typically only have
> one card dealing with HDMI.
Not really. There are systems with two HDMI outputs from both
integrated and discrete GPUs. Most modern systems are only with
hybrid graphics, though.
> It also doesn't have a UCM representation
> so would force the use of amixer and manual configs, or the UCM file
> would always set the mode.
But people usually use the distro kernels, so the situation is more or
less equivalent; you'd have to adjust a module option manually if you
want a different one from the default, and you'd have to be root to
change it.
So, rather the question is how we should provide the setup of such
parameter. It's supposed to be a part of power management stuff that
should be touched by either a smart PM tool or a manual override such
as runtime PM setup? Or can it be seen as a more casual tuning?
Takashi
More information about the Alsa-devel
mailing list