drm/i915: Add some extra guards in evict_vm
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 23 Dec 2014 17:16:04 +0000 (17:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 6 Jan 2015 08:07:59 +0000 (09:07 +0100)
commitb9b5dce5e767a07604b5debb169472f15b4b57a7
treeb08f4700216395ff24b50d9761f2dfb9f7e7b04d
parent7838a63a53f69c4cdfd450b60f0d58ed6641076e
drm/i915: Add some extra guards in evict_vm

v2: Use WARN_ONs (Daniel)

Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_evict.c