RE: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915
From: Yang, Libin
Date: Wed Feb 10 2016 - 09:47:36 EST
It may be the audio component binding error? I met the audio component binding error in our internal kernel before. It is because the audio component name are duplicating with another i915 component and so match() function doesn't work well. But I'm not sure the ALSA kernel have the same issue. I will check it after my holiday.
Regards,
Libin
> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@xxxxxxx]
> Sent: Tuesday, February 09, 2016 7:44 PM
> To: Martin Kepplinger
> Cc: david.henningsson@xxxxxxxxxxxxx; Lu, Han; Yang, Libin;
> treding@xxxxxxxxxx; perex@xxxxxxxx; alsa-devel@xxxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Subject: Re: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over
> HDMI for i915
>
> On Tue, 09 Feb 2016 07:34:48 +0100,
> Martin Kepplinger wrote:
> >
> > The following change:
> >
> > 788d441 ALSA: hda - Use component ops for i915 HDMI/DP audio jack
> handling
> >
> > breaks audio over HDMI on my snd_hda_intel laptop. It is the first bad
> > commit.
> >
> > This was merged for -rc1 and isn't fixed until now, so I got nervous.
> > There are
> > no errors in the log that stand out. I'm no sound or alsa developer, and
> > just reverting it isn't easy since there is stuff depending on this.
> >
> > I'm happy to test possible fixes and hope v4.5 not to ship with such a big
> > regression ;)
>
> Could you give a bit more detail about your hardware? At best, give
> alsa-info.sh output (run with --no-upload option). Also, give the
> output of dmesg, too.
>
> In addition, what shows /proc/asound/card*/eld#*.* files? Does any of
> it show the proper connection state and ELD?
>
> A simple revert of the commit is a patch like below. Does it make the
> HDMI audio working again?
>
>
> thanks,
>
> Takashi
>
> ---
> --- a/sound/pci/hda/patch_hdmi.c
> +++ b/sound/pci/hda/patch_hdmi.c
> @@ -156,7 +156,7 @@ struct hdmi_spec {
> bool i915_bound; /* was i915 bound in this driver? */
> };
>
> -#ifdef CONFIG_SND_HDA_I915
> +#if 0
> #define codec_has_acomp(codec) \
> ((codec)->bus->core.audio_component != NULL)
> #else