From: Takashi Iwai Subject: Re: HDMI audio: TV vs. codec supported sample rates Date: Tue, 10 Aug 2010 09:33:31 +0200 Message-ID: References: <74CDBE0F657A3D45AFBB94109FB122FF02FD6DF319@HQMAIL01.nvidia.com> <201008051357.18821.anssi.hannula@iki.fi> <201008051417.10835.anssi.hannula@iki.fi> <74CDBE0F657A3D45AFBB94109FB122FF02FD6DF494@HQMAIL01.nvidia.com> <74CDBE0F657A3D45AFBB94109FB122FF02FD6DF683@HQMAIL01.nvidia.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 978B52449A for ; Tue, 10 Aug 2010 09:33:31 +0200 (CEST) In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF02FD6DF683@HQMAIL01.nvidia.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Stephen Warren Cc: 'Anssi Hannula' , Wei Ni , "'alsa-devel@alsa-project.org'" List-Id: alsa-devel@alsa-project.org At Mon, 9 Aug 2010 14:31:30 -0700, Stephen Warren wrote: > > Takashi Iwai wrote: > > > > At Thu, 5 Aug 2010 07:23:26 -0700, > > Stephen Warren wrote: > > > > > > Takashi Iwai wrote: > > > > Sent: Thursday, August 05, 2010 6:28 AM > > > > > ... > > > > OK, what about the patch below (totally untested)? > > > > > > > > This updates the PCM info only at PCM open time. Apps usually check > > > > parameters only at open (due to hw_params stuff), so it doesn't make > > > > much sense to change dynamically at hotplug in the end. > > > > > > Doesn't that patch only use the ELD to set up the stream's supported parameters? > > > I think the code needs to determine the intersection of what's supported by the > > > codec (from HDA node parsing if that's the correct terminology) *and* the display > > > device (from the ELD), not just one of them. > > > > Good point. A revised patch is below. > > Can anyone test it? > > FYI, I asked our affected end-user to test this a few days ago, but haven't heard > back yet. I'll let you know his results when I get them. I'll also see if we can > get this tested internally to NVIDIA. Unfortunately, I don't have the HW to do so > at present (although perhaps if I fake the ELD data, I could test it...) OK, thanks for update. If anyone can give it a try, please let me know the result. Takashi