From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301AbbCYP1F (ORCPT ); Wed, 25 Mar 2015 11:27:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:35951 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752897AbbCYP1B (ORCPT ); Wed, 25 Mar 2015 11:27:01 -0400 Date: Wed, 25 Mar 2015 16:26:59 +0100 Message-ID: From: Takashi Iwai To: Daniel Vetter Cc: Josh Boyer , Dave Airlie , Intel Graphics Development , "Linux-Kernel@Vger. Kernel. Org" , DRI mailing list , Xi Ruoyao , Linus Torvalds Subject: Re: [Intel-gfx] [git pull] drm fixes In-Reply-To: <20150325140008.GJ1349@phenom.ffwll.local> References: <20150324073219.GV1349@phenom.ffwll.local> <20150324134011.GJ1349@phenom.ffwll.local> <20150324143439.GK1349@phenom.ffwll.local> <20150325085418.GQ1349@phenom.ffwll.local> <20150325140008.GJ1349@phenom.ffwll.local> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.4 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 25 Mar 2015 15:00:08 +0100, Daniel Vetter wrote: > > On Wed, Mar 25, 2015 at 09:11:17AM -0400, Josh Boyer wrote: > > On Wed, Mar 25, 2015 at 4:54 AM, Daniel Vetter wrote: > > >> >> commit f55548b5af87ebfc586ca75748947f1c1b1a4a52 > > >> >> Author: Damien Lespiau > > >> >> Date: Thu Feb 5 18:30:20 2015 +0000 > > >> >> > > >> >> drm/i915: Don't try to reference the fb in get_initial_plane_config() > > >> >> > > >> >> From linux-next? > > >> > > > >> > Yes, building now. Will let you know as soon as I test it on both machines. > > >> > > >> OK, with that commit applied I no longer get the kref.h splat and the > > >> NUC machine boots headless. I still see the backtrace below on both > > >> the NUC and the macbook. I have a copy of it with drm.debug=0xff from > > >> the NUC here: > > >> > > >> https://jwboyer.fedorapeople.org/pub/nuc-drm-debug-ff-with-fixes.txt > > >> > > >> Getting better at least :). > > > > > > On top of what you currently have please also cherry-pick > > > > > > commit fb9981aa675eb7b398849915364916fd98833cfa > > > Author: Damien Lespiau > > > Date: Thu Feb 5 19:24:25 2015 +0000 > > > > > > drm/i915: Fix atomic state when reusing the firmware fb > > > > > > from -next. Let's hope this terminates eventually ;-) > > > > Hm. That one doesn't apply cleanly. I think because it needs: > > > > From 2d14030b1a9d0e89cfdca6f16851e2eac8cb4de0 Mon Sep 17 00:00:00 2001 > > From: Damien Lespiau > > Date: Thu, 5 Feb 2015 17:22:18 +0000 > > Subject: drm/i915: Store the initial framebuffer in initial_plane_config > > > > first. Do you want me to grab both, or should I try and figure out > > how to backport fb9981aa67 without it? > > Oops missed that. The active ingredient is setting crtc->primary->state->crtc like this: As I wrote in another mail, I can confirm that cherry-picking of three commits (and manual compile fixes) fixed the problem on my machine. Takashi