From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: VGA needs to be on pipe A on i830M Date: Tue, 23 Oct 2012 13:04:03 +0200 Message-ID: <20121023110403.GN24005@phenom.ffwll.local> References: <1350854789-10535-1-git-send-email-daniel.vetter@ffwll.ch> <84c8a8$67mdap@orsmga001.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 3395C9E74C for ; Tue, 23 Oct 2012 04:03:01 -0700 (PDT) Received: by mail-wg0-f43.google.com with SMTP id dq11so2437239wgb.12 for ; Tue, 23 Oct 2012 04:03:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <84c8a8$67mdap@orsmga001.jf.intel.com> 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: Chris Wilson Cc: Daniel Vetter , Intel Graphics Development List-Id: intel-gfx@lists.freedesktop.org On Tue, Oct 23, 2012 at 10:49:23AM +0100, Chris Wilson wrote: > On Sun, 21 Oct 2012 23:26:29 +0200, Daniel Vetter wrote: > > The bit doesn't stick, and the output is always cloned from pipe A, > > even when it's supposed to scan out from pipe B. > > > > Shuts up annoying warnings from the modeset-rework, too. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51265 > > Signed-off-by: Daniel Vetter > > Tbh this doesn't surprise me that much, it wasn't until 855gm that > attaching a second display and using an extended desktop became a > selling point. I haven't spotted any such limitations form the docs yet, > but xxtensive error reporting ftw, > > Acked-by: Chris Wilson I've noticed that with this patch we know get and unknown connection state since the code can't find a suitable pipe for load detection. But that beats the previous state of affairs, where it tried to use pipe B, actually used pipe A and concluded that something is connected (although it's the LVDS on pipe A and nothing on the VGA connector on pipe B). I've tried to make load detect work by remapping the pipe->planes stuff, so that crtc 0 will use pipe B and hence we still have something left for load-detect on pipe A. But alas, that upset the hw a bit. So there's still some things to figure out, but this here will at least paper over some of the problems. I'll add these more recent observations to the commit. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch