Commit 5e3fb2a5 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Enable refcount debugging for default debug levels

refcount_t is our first line of defence against use-after-free, so let's
enable it for debugging.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Acked-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613122842.4840-1-chris@chris-wilson.co.uk
parent 0cf289bd
...@@ -21,6 +21,7 @@ config DRM_I915_DEBUG ...@@ -21,6 +21,7 @@ config DRM_I915_DEBUG
depends on DRM_I915 depends on DRM_I915
select DEBUG_FS select DEBUG_FS
select PREEMPT_COUNT select PREEMPT_COUNT
select REFCOUNT_FULL
select I2C_CHARDEV select I2C_CHARDEV
select STACKDEPOT select STACKDEPOT
select DRM_DP_AUX_CHARDEV select DRM_DP_AUX_CHARDEV
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment