From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wu Fengguang Subject: Re: [PATCH] drm/i915: add an "off-dvi" HDMI audio mode Date: Sat, 7 Jan 2012 21:39:19 +0800 Message-ID: <20120107133919.GB21128@localhost> References: <1325272048-28597-1-git-send-email-aarcange@redhat.com> <20111231012837.GA6606@localhost> <20111231122010.GA4172@redhat.com> <20111231124952.GA8125@localhost> <20111231131113.GC4172@redhat.com> <20120106032640.GA6171@localhost> <20120106070833.2fcaee82@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 7FCE39E746 for ; Sat, 7 Jan 2012 05:39:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <20120106070833.2fcaee82@jbarnes-desktop> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Jesse Barnes Cc: Andrea Arcangeli , intel-gfx@lists.freedesktop.org, Wang Zhenyu List-Id: intel-gfx@lists.freedesktop.org On Fri, Jan 06, 2012 at 07:08:33AM -0800, Jesse Barnes wrote: > On Fri, 6 Jan 2012 11:26:40 +0800 > Wu Fengguang wrote: > > > Andrea, > > > > Would you test this patch at convenient time? > > > > Thanks, > > Fengguang > > > > --- > > Subject: drm/i915: add an "off-dvi" HDMI audio mode > > Date: Fri Jan 06 11:04:00 CST 2012 > > > > When HDMI-DVI converter is used, it's not only necessary to turn off > > audio, but also to disable HDMI_MODE_SELECT and video infoframe. Since > > the DVI mode is mainly tied to audio functionality from end user POV, > > add a new "off-dvi" audio mode: > > > > xrandr --output HDMI1 --set audio off-dvi > > > > Reported-by: Andrea Arcangeli > > Signed-off-by: Wu Fengguang > > --- > > My only complaint here is that off-dvi isn't an intuitive name. We > don't have any better way of detecting an HDMI->DVI converter with > other EDID bits perhaps? We have intel_hdmi->has_hdmi_sink = drm_detect_hdmi_monitor(edid); which _should_ auto detect HDMI/DVI connections. I guess Andrea ran into problem with that due to broken EDID. Anyway I'll try to test if that drm_detect_hdmi_monitor() will ever work for the HDMI/DVI monitors in my lab. > A better name might be off-dvi-mode or off-dvi-only or something. OK, will change to "off-dvi-mode". Thanks, Fengguang