From patchwork Wed Aug 22 19:13:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 1363031 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id D4B1E3FD40 for ; Wed, 22 Aug 2012 19:14:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B5B40A0AFB for ; Wed, 22 Aug 2012 12:14:03 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from fmsmga102.fm.intel.com (mga10.intel.com [192.55.52.92]) by gabe.freedesktop.org (Postfix) with ESMTP id CD10A9E970 for ; Wed, 22 Aug 2012 12:13:50 -0700 (PDT) Received: from mail-qa0-f45.google.com ([209.85.216.45]) by mga11.intel.com with ESMTP/TLS/RC4-SHA; 22 Aug 2012 12:13:38 -0700 Received: by qadc10 with SMTP id c10so75414qad.4 for ; Wed, 22 Aug 2012 12:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=uWxCPF1VzZQ0cB2ySJ+rH4h6ZEEIDDBsmdn+FfNI9gM=; b=La+zoHvs9pl9OKiFtGjYuYJeVjFXNiw3m7kRVZ8Vvqzkv5XxTx1cl3n3CR7vK8Wp+U 44E0KWQVuZb9W0yE9IQJ5KZsWJsoTgnkBIaU7uas6TTffvUXyRVHoH8VYswhAyO6tK9v Cb5Wvz2ng93H7Ct8lj3WemIq0oqjkOz7iO5b40RUL77IHYVl6VB22faitA/xz2LtlLSH yrGOPn6T77bFUkfck+BeQcUmTQE2SvYFL0h1E+sE3cgbUO3U/ZhqGIPLAQ9TwG3kVTcv 4yaSWcj2tjsZ0WNmDSmJRU4vavLpmpRmVpRvMr586ex/BI6/q3VjjE91xyHtSgCyPmSw fkJA== MIME-Version: 1.0 Received: by 10.224.97.199 with SMTP id m7mr13587313qan.61.1345662817505; Wed, 22 Aug 2012 12:13:37 -0700 (PDT) Received: by 10.49.64.195 with HTTP; Wed, 22 Aug 2012 12:13:37 -0700 (PDT) In-Reply-To: References: <1345403595-9678-1-git-send-email-daniel.vetter@ffwll.ch> <20120821181153.GF5156@phenom.ffwll.local> Date: Wed, 22 Aug 2012 20:13:37 +0100 Message-ID: From: "Lespiau, Damien" To: Daniel Vetter X-Gm-Message-State: ALoCoQnLa+mtnbyaY7z4ESw90i+uUz/gHFCZ24BEKudzDftnO9ZdV0TXUSDIwu9JsMBjpa2Iv5dx Cc: Intel Graphics Development Subject: Re: [Intel-gfx] [PATCH 00/58] modeset-rework, the basic conversion X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org On Wed, Aug 22, 2012 at 12:03 PM, Lespiau, Damien wrote: > On Wed, Aug 22, 2012 at 11:46 AM, Lespiau, Damien > wrote: >> On Tue, Aug 21, 2012 at 7:11 PM, Daniel Vetter wrote: >>>> Smoke-tested the new modeset-rework branch and found a regression on >>>> my IVB with a pristine f17 userland: >>>> >>>> * start with LVDS + VGA >>>> * unplug VGA >>>> * LVDS goes black >>> >>> Hm, not yet seen this one here. Can you attach a full dmesg with >>> drm.debug=0xe when this is happening, please? Adding more information to track this regression, a diff between the failure state and bringing back the panel with a off/on cycle (note the disabled DPLL). $ diff -u vga-out-lvds-fail.dump vga-out-lvds-off-on.dump HTOTAL_B: 0x0897077f (1920 active, 2200 total) @@ -102,7 +102,7 @@ PCH_SSC4_AUX_PARMS: 0x000029c5 PCH_DPLL_SEL: 0x00000008 (TransA DPLL enable (DPLL A), TransB DPLL disable (DPLL (null))) PCH_DPLL_ANALOG_CTL: 0x00008000 - PCH_DPLL_A: 0x08046004 (disable, sdvo high speed no, mode LVDS, p2 Div 14, FPA0 P1 3, FPA1 P1 3, refclk SSC, sdvo/hdmi mul 1) + PCH_DPLL_A: 0x88046004 (enable, sdvo high speed no, mode LVDS, p2 Div 14, FPA0 P1 3, FPA1 P1 3, refclk SSC, sdvo/hdmi mul 1) PCH_DPLL_B: 0x04020002 (disable, sdvo high speed no, mode (null), p2 (null), FPA0 P1 2, FPA1 P1 2, refclk default 120Mhz, sdvo/hdmi mul 1) PCH_FPA0: 0x00021108 (n = 2, m1 = 17, m2 = 8) PCH_FPA1: 0x00021108 (n = 2, m1 = 17, m2 = 8) Tested-by: Damien Lespiau --- vga-out-lvds-fail.dump 2012-08-22 14:05:44.732293487 +0100 +++ vga-out-lvds-off-on.dump 2012-08-22 14:06:21.690275915 +0100 @@ -28,10 +28,10 @@ PIPEA_LINK_N1: 0x00041eb0 (val 0x41eb0 270000) PIPEA_LINK_M2: 0x00000000 (val 0x0 0) PIPEA_LINK_N2: 0x00000000 (val 0x0 0) - DSPACNTR: 0x58004400 (disabled) + DSPACNTR: 0xd8004400 (enabled) DSPABASE: 0x00000000 DSPASTRIDE: 0x00001600 (88) - DSPASURF: 0x041c6008 + DSPASURF: 0x0155c008 DSPATILEOFF: 0x00000000 (0, 0) PIPEBCONF: 0x00000000 (disabled, inactive, pf-pd, rotate 0, 8bpc)