]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reduce WARN(i915_gem_valid_gtt_space) to a debug-only check
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:24 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:53 +0000 (20:19 +0100)
commit76ca4ed8b5d2556cf78deadd2c72c8a90647c818
treea5af0f7691e1fd4bda61a72054e93e249486556a
parentdb13473af92366f524269108d2433311ad1e3b5a
drm/i915: Reduce WARN(i915_gem_valid_gtt_space) to a debug-only check

i915_gem_valid_gtt_space() is used after inserting the VMA to double
check the list - the location should have been chosen to pass all the
restrictions.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-8-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c