From: Chris Wilson Date: Thu, 13 Jun 2019 12:28:42 +0000 (+0100) Subject: drm/i915: Enable refcount debugging for default debug levels X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5e3fb2a5b528bbb6090bea3f345eb72d8c8b808d;p=openwrt%2Fstaging%2Fblogic.git 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: Chris Wilson Acked-by: Rodrigo Vivi Link: https://patchwork.freedesktop.org/patch/msgid/20190613122842.4840-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index 09aa0f4c8bf1..8d922bb4d953 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -21,6 +21,7 @@ config DRM_I915_DEBUG depends on DRM_I915 select DEBUG_FS select PREEMPT_COUNT + select REFCOUNT_FULL select I2C_CHARDEV select STACKDEPOT select DRM_DP_AUX_CHARDEV