diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-10-29 19:42:14 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-11-08 10:35:52 +0100 |
commit | 5c7fcf2db027fe3beee35b25878723da2924fb4a (patch) | |
tree | c18b2ad9d5c8541d6968878f55629b8879d749b2 /drivers/gpu/drm/i915/Kconfig.debug | |
parent | 5705670d0463423337c82d00877989e7df8b169d (diff) | |
download | op-kernel-dev-5c7fcf2db027fe3beee35b25878723da2924fb4a.zip op-kernel-dev-5c7fcf2db027fe3beee35b25878723da2924fb4a.tar.gz |
drm/i915: Enable drm_mm debug when enabling DRM_I915_DEBUG
A frequent issue that arises on shutdown is the drm_mm range manager
complaining of a leak. To aide debugging those, drm can now track the
allocation callsite and print those for the leaks.
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/20161029184214.17329-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
-rw-r--r-- | drivers/gpu/drm/i915/Kconfig.debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug index cee87bf..69edf19 100644 --- a/drivers/gpu/drm/i915/Kconfig.debug +++ b/drivers/gpu/drm/i915/Kconfig.debug @@ -21,6 +21,7 @@ config DRM_I915_DEBUG select PREEMPT_COUNT select X86_MSR # used by igt/pm_rpm select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks) + select DRM_DEBUG_MM default n help Choose this option to turn on extra driver debugging that may affect |