Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757509Ab3GZH1J (ORCPT ); Fri, 26 Jul 2013 03:27:09 -0400 Received: from s16502780.onlinehome-server.info ([87.106.93.118]:62716 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753454Ab3GZH1G (ORCPT ); Fri, 26 Jul 2013 03:27:06 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.73.22; Date: Fri, 26 Jul 2013 08:26:46 +0100 From: Chris Wilson To: Sedat Dilek Cc: Daniel Vetter , Jani Nikula , Stephen Rothwell , intel-gfx , Linux Kernel Mailing List , DRI , linux-next , "s.dilek" Subject: Re: [Intel-gfx] linux-next: Tree for Jul 25 [ call-trace: drm | drm-intel related? ] Message-ID: <20130726072646.GH13295@cantiga.alporthouse.com> Mail-Followup-To: Chris Wilson , Sedat Dilek , Daniel Vetter , Jani Nikula , Stephen Rothwell , intel-gfx , Linux Kernel Mailing List , DRI , linux-next , "s.dilek" References: <20130725190006.GD11514@cantiga.alporthouse.com> <20130725192248.GA13295@cantiga.alporthouse.com> <20130725215259.GB13295@cantiga.alporthouse.com> <20130725232556.GF13295@cantiga.alporthouse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: 78.156.73.22 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1074 Lines: 32 On Fri, Jul 26, 2013 at 09:15:14AM +0200, Sedat Dilek wrote: > For example: I could start my X with even doing ugly hacks like this... > > [ intel-ddx (git) ] > ... > Bool intel_uxa_create_screen_resources(ScreenPtr screen) > ... > #if 0 > if (drm_intel_gem_bo_map_gtt(bo)) > return FALSE; > #endif > ... > > ...with any other kernel. Yes. Acquiring the map there is just a bit of paranoia to ensure we having the mapping into the scanout already in place in case of emergencies (and so don't fail along failure paths due to resource conflicts). Hmm, though we only started checking for map failures in 2.20.10 - which would explain why going back to the older ddx masks the issue. And yes, this means we do require a kernel bisect - or some passing inspiron. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/