From: Daniel Vetter Subject: Re: [PATCH 12/13] drm/i915: fix DP get_hw_state return value Date: Thu, 4 Apr 2013 01:18:39 +0200 Message-ID: <20130403231839.GT2228@phenom.ffwll.local> References: <1364922237-3620-1-git-send-email-jbarnes@virtuousgeek.org> <1364922237-3620-13-git-send-email-jbarnes@virtuousgeek.org> <20130402181105.GX2228@phenom.ffwll.local> <20130403231527.GS2228@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f174.google.com (mail-ea0-f174.google.com [209.85.215.174]) by gabe.freedesktop.org (Postfix) with ESMTP id C1901E5DFE for ; Wed, 3 Apr 2013 16:15:42 -0700 (PDT) Received: by mail-ea0-f174.google.com with SMTP id m14so815066eaj.19 for ; Wed, 03 Apr 2013 16:15:41 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130403231527.GS2228@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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Apr 04, 2013 at 01:15:28AM +0200, Daniel Vetter wrote: > On Tue, Apr 02, 2013 at 08:11:05PM +0200, Daniel Vetter wrote: > > On Tue, Apr 02, 2013 at 10:03:56AM -0700, Jesse Barnes wrote: > > > If we couldn't find a pipe we shouldn't return true. This might be even > > > better as a WARN though, since it should be impossible to have the port > > > enabled without a pipe selected. > > > > > > Signed-off-by: Jesse Barnes > > > > These two fixes are merged for -next, thanks. > > Actually this one here is broken, so I've had to revert it. I'm also a bit unsure about the DDI one, since if we ever have a port enabled with a bogus pipe link, we probably still want to shut down the port. At least that part is pretty important to not end up with a black screen in a lot of cases, atm Egbert Eich is debugging such a case for sdvo ... -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch