From: Takashi Iwai <tiwai@suse.de>
To: "Yang, Libin" <libin.yang@intel.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
David Henningsson <david.henningsson@canonical.com>
Subject: Re: [PATCH] ALSA: hda - PCH HDA controller not controlled by i915 power
Date: Tue, 09 Jun 2015 11:09:25 +0200 [thread overview]
Message-ID: <s5hr3pl9rju.wl-tiwai@suse.de> (raw)
In-Reply-To: <96A12704CE18D347B625EE2D4A099D19669ECF@SHSMSX103.ccr.corp.intel.com>
At Tue, 9 Jun 2015 08:43:44 +0000,
Yang, Libin wrote:
>
> Hi Takashi,
>
> > -----Original Message-----
> > From: Takashi Iwai [mailto:tiwai@suse.de]
> > Sent: Tuesday, June 09, 2015 4:30 PM
> > To: David Henningsson
> > Cc: Yang, Libin; alsa-devel@alsa-project.org
> > Subject: Re: [alsa-devel] [PATCH] ALSA: hda - PCH HDA controller not
> > controlled by i915 power
> >
> > At Tue, 09 Jun 2015 08:46:35 +0200,
> > David Henningsson wrote:
> > >
> > >
> > >
> > > On 2015-06-09 08:31, Takashi Iwai wrote:
> > > > At Tue, 9 Jun 2015 14:05:18 +0800,
> > > > libin.yang@intel.com wrote:
> > > >>
> > > >> From: Libin Yang <libin.yang@intel.com>
> > > >>
> > > >> On some Intel platforms, the HDMI codec is connected to PCH
> > HDA
> > > >> controller. In this case, AZX_DCAPS_I915_POWERWELL is set and
> > > >> the i915 power well failure should not block the hda controller
> > > >> initialization.
> > > >>
> > > >> Signed-off-by: Libin Yang <libin.yang@intel.com>
> > > >
> > > > Is this fix needed for 4.1, or it's only for 4.2?
> > >
> > > It's a bug fix, and as such should go to all kernels, even with cc to
> > > stable. That said, it mainly concerns Skylake, so kernels that don't
> > > support Skylake would not need a backport.
> >
> > The patch can't be applied even to 4.1 as is because of the code
> > structure change. So, Cc to stable doesn't work, in anyway.
> >
> > > > I vaguely remember of a bug report. If there is any relevant bug
> > > > report, please give the link, too.
> > >
> > > I think this was raised to Intel by us. The use case is when the
> > > integrated GPU is disabled and a discrete GPU is used. In this case
> > the
> > > i915 module fails to load. If then the HDMI and analog codec are both
> > on
> > > the same controller, the entire controller fails instead of just the
> > > HDMI codec.
>
> I can't find the bug number, maybe David can help.
>
> BTW: Not only SKL but also other platforms that controller is not in
> Powerwell while the controller connects with HDMI codec will meet
> such issue, like BSW.
>
> > >
> > > I'll see if I can get the patch tested ASAP.
> >
> > OK, the bug seems needed for 4.1 and earlier. But Libin's patch is
> > only for 4.2. And even worse, backporting this isn't
> > straightforward due to the lack of need_i915_power field. Hmm.
> >
> > I think we can make it easier by just allowing to continue the probe.
> > A totally untested patch for 4.1 is below.
>
> Thanks for your help on this. So this patch will be merged or we will
> wait for 4.2 to merge the patch?
Let's see whether it works as expected.
If this works for 4.1, we can merge back to 4.2 together with
additional NULL checks in hdac_i915.c.
Takashi
next prev parent reply other threads:[~2015-06-09 9:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 6:05 [PATCH] ALSA: hda - PCH HDA controller not controlled by i915 power libin.yang
2015-06-09 6:31 ` Takashi Iwai
2015-06-09 6:46 ` David Henningsson
2015-06-09 8:30 ` Takashi Iwai
2015-06-09 8:43 ` Yang, Libin
2015-06-09 9:09 ` Takashi Iwai [this message]
2015-06-09 8:51 ` David Henningsson
2015-06-09 9:06 ` Takashi Iwai
2015-06-10 0:41 ` Yang, Libin
2015-06-10 10:24 ` Takashi Iwai
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=s5hr3pl9rju.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=david.henningsson@canonical.com \
--cc=libin.yang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox