drm/i915: Enable drm_mm debug when enabling DRM_I915_DEBUG
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 29 Oct 2016 18:42:14 +0000 (19:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 8 Nov 2016 09:35:52 +0000 (10:35 +0100)
commit5c7fcf2db027fe3beee35b25878723da2924fb4a
treec18b2ad9d5c8541d6968878f55629b8879d749b2
parent5705670d0463423337c82d00877989e7df8b169d
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
drivers/gpu/drm/i915/Kconfig.debug