drm/mm: add ability to dump mm lists via debugfs
authorDave Airlie <airlied@linux.ie>
Wed, 26 Aug 2009 03:13:37 +0000 (13:13 +1000)
committerDave Airlie <airlied@linux.ie>
Tue, 1 Sep 2009 23:39:43 +0000 (09:39 +1000)
commitfa8a123855e20068204982596b8fafceb1a67f0b
treeefdfa7fb3cbff6f474cb89de289203f736aa0d81
parent3420e74262a7d6496d0ac433d6f61c9972f015f6
drm/mm: add ability to dump mm lists via debugfs

This adds code to the drm_mm to talk to debugfs, and adds
support to radeon to add the VRAM and GTT mm lists to debugfs.

I tested with spinlock debugging and it doesn't give out.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_mm.c
drivers/gpu/drm/radeon/radeon_ttm.c
include/drm/drm_mm.h