From: Takashi Iwai Subject: Re: HDMI hotplug on Skylake when power well is off Date: Fri, 17 Jul 2015 15:06:15 +0200 Message-ID: References: <55A62252.1050506@canonical.com> <20150716083908.GI5086@localhost> <55A77A8A.2080101@canonical.com> <20150716113514.GL5086@localhost> <55A7B383.6020206@canonical.com> <20150717111724.GQ5086@localhost> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 0D7152668C6 for ; Fri, 17 Jul 2015 15:06:16 +0200 (CEST) In-Reply-To: <20150717111724.GQ5086@localhost> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Vinod Koul Cc: libin.yang@intel.com, "Lin, Mengdong" , "alsa-devel@alsa-project.org" , David Henningsson List-Id: alsa-devel@alsa-project.org On Fri, 17 Jul 2015 13:17:24 +0200, Vinod Koul wrote: > > On Thu, Jul 16, 2015 at 03:57:03PM +0200, Takashi Iwai wrote: > > > >>> Yes. This was supposed to work with WAKEEN bits, but this didn't work > > > >>> as expected, after all. > > > > > > But this applies only to HDMI codecs and the power well, right? Analog > > > controllers could go into D3 and WAKEEN would wake them up? Or did we > > > never get that working either? > > > > Well, the analog codec wakeup never worked in my tests. Maybe some > > hardware works, who knows. > So essentialy both for analog and hdmi this never works reliably ? No machines worked on my test machines, so far. > I was under the impression taht this was working okay > > > > Anyhow, I went searching in the video drivers for things to match on, > > > inspired by your thoughts about submitting information from the graphics > > > driver to the audio driver. See new attached patch (still writing blind > > > drafts). Let me know what you think. > > > > Thanks, this looks promising! > > > > > I think "connector->name" seems what the most reasonable thing to export > > > to userspace to indicate what gfx output is related to which audio nid, > > > and the port being what maps 1-to-1 to a nid - we'll use that for our > > > own lookup (this lookup might differ between hardware generations). > > > > Yeah, this mapping is the unresolved mystery. This mythos has to be > > revealed by Intel people. > Are you talking about nid to connctor name mapping or something else? Yes. Takashi