drm/i915: WARN_ON failed map_and_fenceable
authorBen Widawsky <benjamin.widawsky@intel.com>
Sat, 10 Aug 2013 05:12:12 +0000 (22:12 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Aug 2013 11:31:35 +0000 (13:31 +0200)
commit7ace7ef2f5d20632240196fa3e5d5c74cf2c1508
tree5de3c93fb5ae3c27871d9f824f4b206bf36ae5e9
parent35c7ab421a13f8327e3fd627c6ebafb1c13b2e55
drm/i915: WARN_ON failed map_and_fenceable

I just noticed in our code we don't really check the assertion, and
given some of the code I am changing in this area, I feel a WARN is very
nice to have.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: s/&/&&/ to fix typo on the check.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c