[PATCH 2/2] drm/i915: Enable drm_mm debug when enabling DRM_I915_DEBUG

Daniel Vetter daniel at ffwll.ch
Tue Nov 8 09:36:06 UTC 2016


On Sat, Oct 29, 2016 at 07:42:14PM +0100, Chris Wilson wrote:
> 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 at chris-wilson.co.uk>

Makes sense, and applied to drm-misc for easier merging.
-Daniel

> ---
>  drivers/gpu/drm/i915/Kconfig.debug | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
> index cee87bfd10c4..69edf196ed03 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
> -- 
> 2.10.1
> 
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list