diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-11-08 13:19:17 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-09 02:13:43 +0100 |
commit | cd456f8d06d2036e1e013136c3fbf5721d04f6d7 (patch) | |
tree | 447faa8d881a5def92eff206cf170db6ecf43f61 /drivers/gpu/drm/Kconfig | |
parent | 06d9f56f1d9aed065c18ffb48ea51901886afba9 (diff) | |
download | op-kernel-dev-cd456f8d06d2036e1e013136c3fbf5721d04f6d7.zip op-kernel-dev-cd456f8d06d2036e1e013136c3fbf5721d04f6d7.tar.gz |
drm: Restrict stackdepot usage to builtin drm.ko
I misread the kbuild result thinking that we had missed the include
(which we had for completeness anyway), what kbuild was actually warning
me about was that depot_save_stack was not exported.
Temporarily fix this by only selecting STACKDEPOT iff drm.ko is builtin
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 5705670d0463 ("drm: Track drm_mm allocators and show leaks on shutdown")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161108131917.6253-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r-- | drivers/gpu/drm/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 25e8e37..d6ee059 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -36,7 +36,7 @@ config DRM_DP_AUX_CHARDEV config DRM_DEBUG_MM bool "Insert extra checks and debug info into the DRM range managers" default n - depends on DRM + depends on DRM=y select STACKDEPOT help Enable allocation tracking of memory manager and leak detection on |