From: Daniel Vetter Subject: Re: [PATCH] drm/i915: fix gen4 digital port hotplug definitions Date: Fri, 26 Jul 2013 21:46:39 +0200 Message-ID: <20130726194639.GN6084@phenom.ffwll.local> References: <1374830869-4891-1-git-send-email-daniel.vetter@ffwll.ch> <87txjh62pv.fsf@intel.com> <20130726175422.GH6084@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f172.google.com (mail-ea0-f172.google.com [209.85.215.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 663EAE5E07 for ; Fri, 26 Jul 2013 12:46:41 -0700 (PDT) Received: by mail-ea0-f172.google.com with SMTP id q10so1774252eaj.3 for ; Fri, 26 Jul 2013 12:46:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130726175422.GH6084@phenom.ffwll.local> 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: Jani Nikula Cc: Daniel Vetter , Intel Graphics Development , Jan Niggemann , Egbert Eich List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 26, 2013 at 07:54:22PM +0200, Daniel Vetter wrote: > On Fri, Jul 26, 2013 at 01:21:48PM +0300, Jani Nikula wrote: > > On Fri, 26 Jul 2013, Daniel Vetter wrote: > > > Apparently Bspec is wrong in this case here even for gm45. Note that > > > Bspec is horribly misguided on i965g/gm, so we don't have any other > > > data points besides that it seems to make machines work better. > > > > > > With this changes all the bits in PORT_HOTPLUG_STAT for the digital > > > ports are ordered the same way. This seems to agree with what register > > > dumps from the hpd storm handling code shows, where the LIVE bit and > > > the short/long pulse STATUS bits light up at the same time with this > > > enumeration (but no with the one from Bspec). > > > > Would a comment about this near the #defines be in order? To avoid the > > "these values are all wrong per bspec" patches. > > Yeah, good idea, I'll add a comment when merging this. Done and merged with your irc-ack. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch