From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: shut up spurious WARN in the gtt fault handler Date: Wed, 17 Oct 2012 11:57:09 +0200 Message-ID: <20121017095709.GL5753@phenom.ffwll.local> References: <1350465436-15328-1-git-send-email-daniel.vetter@ffwll.ch> <275ffc$71ao6b@fmsmga002.fm.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id AC3509E79D for ; Wed, 17 Oct 2012 02:56:09 -0700 (PDT) Received: by mail-wi0-f171.google.com with SMTP id hj13so313919wib.12 for ; Wed, 17 Oct 2012 02:56:09 -0700 (PDT) Content-Disposition: inline In-Reply-To: <275ffc$71ao6b@fmsmga002.fm.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 Wed, Oct 17, 2012 at 10:43:15AM +0100, Chris Wilson wrote: > On Wed, 17 Oct 2012 11:17:16 +0200, Daniel Vetter wrote: > > -ENOSPC can happen if userspace is being simplistic and tries to map a > > too big object. To aid further spurious WARN debugging, also print out > > the error code. > > > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56017 > > Signed-off-by: Daniel Vetter > > %i is the new %d? > > Reviewed-by: Chris Wilson Picked up for -fixes. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch