drm/nouveau: Add ttm page pool debugfs file.
authorPauli Nieminen <suokkos@gmail.com>
Thu, 1 Apr 2010 12:45:00 +0000 (12:45 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Apr 2010 01:35:58 +0000 (11:35 +1000)
ttm_page_pool file is hooked ttm_page_alloc_debugfs for pool
allocator state.

Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_debugfs.c

index 8ff9ef5d4b47d1bd1df4287e0c4e109b4aaed52a..59416c804369ff91740be4b125552c98488f80db 100644 (file)
@@ -33,6 +33,8 @@
 #include "drmP.h"
 #include "nouveau_drv.h"
 
+#include <ttm/ttm_page_alloc.h>
+
 static int
 nouveau_debugfs_channel_info(struct seq_file *m, void *data)
 {
@@ -160,6 +162,7 @@ static struct drm_info_list nouveau_debugfs_list[] = {
        { "chipset", nouveau_debugfs_chipset_info, 0, NULL },
        { "memory", nouveau_debugfs_memory_info, 0, NULL },
        { "vbios.rom", nouveau_debugfs_vbios_image, 0, NULL },
+       { "ttm_page_pool", ttm_page_alloc_debugfs, 0, NULL },
 };
 #define NOUVEAU_DEBUGFS_ENTRIES ARRAY_SIZE(nouveau_debugfs_list)
 
This page took 0.030399 seconds and 5 git commands to generate.