From: Takashi Iwai <tiwai@suse.de>
To: Matthew Garrett <matthew.garrett@coreos.com>
Cc: perex@perex.cz, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda - make power_save threshold per-codec
Date: Thu, 09 Apr 2015 08:54:55 +0200 [thread overview]
Message-ID: <s5hoamx6bb4.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAPeXnHv6UtRgvXb6b9hU_V8==cabKXsAsMi5U1MrAN5uPoXZ6A@mail.gmail.com>
At Wed, 8 Apr 2015 23:24:52 -0700,
Matthew Garrett wrote:
>
> On Wed, Apr 8, 2015 at 10:20 PM, Takashi Iwai <tiwai@suse.de> wrote:
> >
> > At Wed, 8 Apr 2015 18:53:48 -0700,
> > Matthew Garrett wrote:
> > >
> > > Modern hardware will often have multiple HDA devices, and the desired
> > > power saving configuration may vary depending on the codecs attached to
> > > each of them. Push the power_save value down to the individual codec
> > > structures, keeping the module parameter as a global control mechanism
> > > for compatibility purposes.
> >
> > This patch doesn't apply any longer at all to the recent code, since
> > the power saving stuff has been already translated to the standard
> > runtime PM. Take a look at linux-next tree.
>
> Ah! Wonderful!
>
> > Also we can't break the current behavior controlling the power save
> > via option. Many programs rely on this mechanism, thus changing this
> > would break its behavior.
>
> Yeah, I kept that behaviour - anything that touches
> /sys/module/snd_hda_intel/parameters/power_save just changes the
> settings for all codecs.
>
> > In the latest code, the common control via power_save module option is
> > still there for compatibility, but you can also adjust the value for
> > each codec in runtime attribute of each codec sysfs in addition.
>
> That's ideal - I'll pull down next and rewrite my udev rules. Thanks!
Let me know if you find anything broken with the new code. It's
pretty new, so any intensive testing is appreciated.
thanks,
Takashi
prev parent reply other threads:[~2015-04-09 6:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 1:53 Matthew Garrett
2015-04-09 5:20 ` Takashi Iwai
2015-04-09 6:24 ` Matthew Garrett
2015-04-09 6:54 ` Takashi Iwai [this message]
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=s5hoamx6bb4.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.garrett@coreos.com \
--cc=perex@perex.cz \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®