aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2010-04-01 08:45:00 -0400
committerDave Airlie <airlied@redhat.com>2010-04-05 21:35:58 -0400
commitbf62acdef89cb5b294668a6a747f7411dfe2ea7d (patch)
tree6976e601c6e2ce4dc30d99438691d0008010579a /drivers/gpu
parent8d7cddcd7f9e847cec44851ca53fd3e81e846c49 (diff)
drm/nouveau: Add ttm page pool debugfs file.
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_debugfs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.c b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
index 8ff9ef5d4b4..59416c80436 100644
--- a/drivers/gpu/drm/nouveau/nouveau_debugfs.c
+++ b/drivers/gpu/drm/nouveau/nouveau_debugfs.c
@@ -33,6 +33,8 @@
33#include "drmP.h" 33#include "drmP.h"
34#include "nouveau_drv.h" 34#include "nouveau_drv.h"
35 35
36#include <ttm/ttm_page_alloc.h>
37
36static int 38static int
37nouveau_debugfs_channel_info(struct seq_file *m, void *data) 39nouveau_debugfs_channel_info(struct seq_file *m, void *data)
38{ 40{
@@ -160,6 +162,7 @@ static struct drm_info_list nouveau_debugfs_list[] = {
160 { "chipset", nouveau_debugfs_chipset_info, 0, NULL }, 162 { "chipset", nouveau_debugfs_chipset_info, 0, NULL },
161 { "memory", nouveau_debugfs_memory_info, 0, NULL }, 163 { "memory", nouveau_debugfs_memory_info, 0, NULL },
162 { "vbios.rom", nouveau_debugfs_vbios_image, 0, NULL }, 164 { "vbios.rom", nouveau_debugfs_vbios_image, 0, NULL },
165 { "ttm_page_pool", ttm_page_alloc_debugfs, 0, NULL },
163}; 166};
164#define NOUVEAU_DEBUGFS_ENTRIES ARRAY_SIZE(nouveau_debugfs_list) 167#define NOUVEAU_DEBUGFS_ENTRIES ARRAY_SIZE(nouveau_debugfs_list)
165 168