OSDN Git Service

drm/i915/gtt: Convert WARN_ON to GEM debugging
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 11:07:59 +0000 (11:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 15 Feb 2018 16:22:21 +0000 (16:22 +0000)
commit62d4028fb0b9ce6250d66c39ebe887522d77eb3c
tree27aa0d42fa16d6c9ac9b33219dfd82ee11ce0563
parentcc3290955255ce61d16ceeab87685e99dc27bbc4
drm/i915/gtt: Convert WARN_ON to GEM debugging

As we presume that we have sufficient coverage of CI for new machines
and new code paths, we do not need to have user impacting WARN_ON for
programming errors inside i915_gem_gtt.c, so convert those over to
GEM_BUG_ON. This leaves the memory debugging WARN_ON in place as they
are not so easy to exercise with CI.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180215110759.28603-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_gtt.c