From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752836AbcBKJGm (ORCPT ); Thu, 11 Feb 2016 04:06:42 -0500 Received: from mx2.suse.de ([195.135.220.15]:59516 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496AbcBKJGh (ORCPT ); Thu, 11 Feb 2016 04:06:37 -0500 Date: Thu, 11 Feb 2016 10:06:35 +0100 Message-ID: From: Takashi Iwai To: Martin Kepplinger Cc: david.henningsson@canonical.com, han.lu@intel.com, libin.yang@intel.com, treding@nvidia.com, perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915 In-Reply-To: <56BB7187.1020108@posteo.de> References: <56B98888.5000702@posteo.de> <56BB7187.1020108@posteo.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.5 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Feb 2016 18:21:11 +0100, Martin Kepplinger wrote: > > Am 2016-02-09 um 12:44 schrieb Takashi Iwai: > > 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? > > alsa-info and dmesg are appended, and > > root@laptop:/home/martin/dev# cat /proc/asound/card*/eld#* > monitor_present 0 > eld_valid 0 OK, then could you put some debug print in intel_pin_eld_notify() in sound/pci/hda/patch_hdmi.c? This is the callback to be called by i915 driver at enabling / disabling HDMI/DP audio. (Also, to be sure, check whether snd_hdac_i915_register_notifier() in sound/hda/hda_i915.c is called, too.) If intel_pin_eld_notify() is registered but never called, it implies something wrong in i915 driver side. If it gets called, we need to track down: what port value was passed there, and how hdmi_present_sense() and sync_eld_via_acomp() behave there. thanks, Takashi