]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c44b14a1776f91c4238b24a64a81c5bc3c7772b
treeefdfa7fb3cbff6f474cb89de289203f736aa0d81
parent6ef3049e0dec2f60e8425748b146338ec35671bd
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