[Bug 97343] gem cancel_userptr warning
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Aug 14 15:02:59 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97343
--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
For fun, also
diff --git a/drivers/gpu/drm/i915/i915_gem.h b/drivers/gpu/drm/i915/i915_gem.h
index 8292e797d9b5..cec1aa4e1152 100644
--- a/drivers/gpu/drm/i915/i915_gem.h
+++ b/drivers/gpu/drm/i915/i915_gem.h
@@ -25,10 +25,6 @@
#ifndef __I915_GEM_H__
#define __I915_GEM_H__
-#ifdef CONFIG_DRM_I915_DEBUG_GEM
-#define GEM_BUG_ON(expr) BUG_ON(expr)
-#else
-#define GEM_BUG_ON(expr)
-#endif
+#define GEM_BUG_ON(expr) WARN_ON(expr)
#endif /* __I915_GEM_H__ */
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160814/ac5b336f/attachment.html>
More information about the intel-gfx-bugs
mailing list