projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf289b
)
drm/i915: Enable refcount debugging for default debug levels
author
Chris Wilson
<chris@chris-wilson.co.uk>
Thu, 13 Jun 2019 12:28:42 +0000
(13:28 +0100)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Fri, 14 Jun 2019 11:16:08 +0000
(12:16 +0100)
refcount_t is our first line of defence against use-after-free, so let's
enable it for debugging.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190613122842.4840-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/Kconfig.debug
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/Kconfig.debug
b/drivers/gpu/drm/i915/Kconfig.debug
index 09aa0f4c8bf1421db84a5cd068d2b2824c47e3df..8d922bb4d95394aa1ce947246f4626f370be7cd3 100644
(file)
--- 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