]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: shut up spurious WARN in the gtt fault handler
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Oct 2012 09:17:16 +0000 (11:17 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 17 Oct 2012 09:56:40 +0000 (11:56 +0200)
commit9dc0df35b27ba7bd1c23b447d7cb9a25ad424042
tree48c2b794e044c72aa2407ca64ada3aa6f1d60350
parent3569685dc799a2f7c98d5faa16145667e5616299
drm/i915: shut up spurious WARN in the gtt fault handler

-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
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c