summaryrefslogtreecommitdiff
path: root/linux-core/drm_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_proc.c')
-rw-r--r--linux-core/drm_proc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c
index b1b976b2..71d55274 100644
--- a/linux-core/drm_proc.c
+++ b/linux-core/drm_proc.c
@@ -655,6 +655,10 @@ static int drm_gem_object_info(char *buf, char **start, off_t offset,
*start = &buf[offset];
*eof = 0;
DRM_PROC_PRINT ("%d objects\n", atomic_read (&dev->object_count));
+ DRM_PROC_PRINT ("%d object bytes\n", atomic_read (&dev->object_memory));
+ DRM_PROC_PRINT ("%d pinned\n", atomic_read (&dev->pin_count));
+ DRM_PROC_PRINT ("%d pin bytes\n", atomic_read (&dev->pin_memory));
+ DRM_PROC_PRINT ("%d gtt bytes\n", atomic_read (&dev->gtt_memory));
if (len > request + offset)
return request;
*eof = 1;