From patchwork Fri Mar 21 15:11:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 3874911 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1D4959F334 for ; Fri, 21 Mar 2014 15:11:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 42FAC20203 for ; Fri, 21 Mar 2014 15:11:43 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 5BC21201F7 for ; Fri, 21 Mar 2014 15:11:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EA2BB6E35E; Fri, 21 Mar 2014 08:11:39 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by gabe.freedesktop.org (Postfix) with ESMTP id C56476E35E for ; Fri, 21 Mar 2014 08:11:37 -0700 (PDT) Received: by mail-ee0-f46.google.com with SMTP id t10so1912522eei.33 for ; Fri, 21 Mar 2014 08:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=qDklUuI89DNjZ3+O39D47+rDxeq4fdKEb7EK+BEnTL8=; b=amLFvRGZp10/eNH34g2PDHorj9fPK9Ipv03Tg+nPq/eXKFt9r2B5Q9Kczm/rQIhDEd 1b+L9OwET5DGOh2B2ulpKyE+3WZFcBeDDqLTHn5nwErcv9VGPja+/KBg2ArreGFVf99P qfnQZbVsXd1s7kVH17xpZy3aBfh90Pn/RKygQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=qDklUuI89DNjZ3+O39D47+rDxeq4fdKEb7EK+BEnTL8=; b=A+z5UvDp/215wtqDR1xgOmxQdtLM/mM+oMneTRVKu8zheR9TEv7EIwsCROJovqssKS fas/dNW2Iq3s9Wnaj5Ybj6mQue3rYjXXAEzijsKtFOthLHAR2YVOmR6qxqzGlq41K+CR Sg6FyElMd2umx8TctcYkbz7oTdjrSdQgvOT1Is2SD2rJf1T/GNQ1+rij+2WYQ6wM4tPC lIT2VbUreRlCrbR6RbiMoiD3097a+dci82zykpzsm4byHmO+N5GGWNMeKuCUT40tusCr yI6QtZ7Q9PJOiJ9bIgCrc6NE4Pf655EiHEsa2cnkSvMoLpx2CdzzdgjxZ2wQhvQjUv/b t5TQ== X-Gm-Message-State: ALoCoQnC3xODMVzBR3zRPvHl2eBrQzhBlx9eiQb709krTjOcg97EtnOpyuOxzeoAWPNNfqhZnnFz X-Received: by 10.14.126.73 with SMTP id a49mr48649449eei.46.1395414695499; Fri, 21 Mar 2014 08:11:35 -0700 (PDT) Received: from phenom.ffwll.local (84-73-67-144.dclient.hispeed.ch. [84.73.67.144]) by mx.google.com with ESMTPSA id e42sm12130829eev.32.2014.03.21.08.11.33 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 21 Mar 2014 08:11:34 -0700 (PDT) Date: Fri, 21 Mar 2014 16:11:31 +0100 From: Daniel Vetter To: Peter Senna Tschudin Subject: Re: I915: OOPSes on linux-3.14-rc7 Message-ID: <20140321151131.GC30571@phenom.ffwll.local> Mail-Followup-To: Peter Senna Tschudin , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, "linux-kernel@vger.kernel.org" References: <20140320211738.GV30571@phenom.ffwll.local> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 3.12.0+ User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, "linux-kernel@vger.kernel.org" , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Fri, Mar 21, 2014 at 12:26:51PM +0100, Peter Senna Tschudin wrote: > On Thu, Mar 20, 2014 at 10:17 PM, Daniel Vetter wrote: > > On Thu, Mar 20, 2014 at 05:56:20PM +0100, Peter Senna Tschudin wrote: > >> When Fedora updated the Kernel package from 3.12 to 3.13 my notebook > >> stopped booting (Kernel freezes) when a 2560 x 1440 high res monitor > >> is attached. I have tried using 3.13.6 from kernel.org and the problem > >> persists. The problem can be partially solved by passing nomodeset to > >> Kernel which will make the Kernel to boot, but the screens never comes > >> to life. When using 3.14-rc7 it boots again, the screen works, but > >> with some oops messages. > >> > >> How can I help fixing this issue? > >> > >> I've reported te bug at: > >> https://bugzilla.redhat.com/show_bug.cgi?id=1072557 > > > > For the oops message (well it's just a WARNING, a real oops would kill > > your driver for real) please file a bug report on bugs.freedesktop.org > > against dri -> drm (intel). > > > > The information we need is the full dmesg fore the entire boot when > > enabling drm.debug=0xe on the kernel cmdline. > It is attached. > > > > > For the boot hang you've reported on the redhat bz if you want to move it > > forward I suggest to do a reverse bisect betwen 3.13 and 3.14-rc7 to > > figure out which bug _fixed_ your problem and then tell me that. I'll > > submit it for backporting to stable kernels. Google should find you some > > nice howtos for reverse bisecting kerneels. > Thank you. I'll do that. It's an issue with our fastboot clock readout code. Please apply the below patch and add an updated dmesg (again with drm.debug=0xe) to your bug report. -Daniel diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 7be5984431bb..3c0f8f095a6b 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -450,6 +450,8 @@ static void i9xx_clock(int refclk, intel_clock_t *clock) { clock->m = i9xx_dpll_compute_m(clock); clock->p = clock->p1 * clock->p2; + printk("p1 = %u, p2 = %u, n = %u\n", clock->p1, clock->p2, + clock->n); if (WARN_ON(clock->n + 2 == 0 || clock->p == 0)) return; clock->vco = DIV_ROUND_CLOSEST(refclk * clock->m, clock->n + 2);