aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r--drivers/gpu/drm/i915/i915_debugfs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index eb5dd52847a9..e4893988f401 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -45,7 +45,8 @@ enum {
45 BSD_LIST, 45 BSD_LIST,
46 FLUSHING_LIST, 46 FLUSHING_LIST,
47 INACTIVE_LIST, 47 INACTIVE_LIST,
48 PINNED_LIST 48 PINNED_LIST,
49 DEFERRED_FREE_LIST,
49}; 50};
50 51
51static const char *yesno(int v) 52static const char *yesno(int v)
@@ -161,6 +162,10 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
161 seq_printf(m, "Flushing:\n"); 162 seq_printf(m, "Flushing:\n");
162 head = &dev_priv->mm.flushing_list; 163 head = &dev_priv->mm.flushing_list;
163 break; 164 break;
165 case DEFERRED_FREE_LIST:
166 seq_printf(m, "Deferred free:\n");
167 head = &dev_priv->mm.deferred_free_list;
168 break;
164 default: 169 default:
165 mutex_unlock(&dev->struct_mutex); 170 mutex_unlock(&dev->struct_mutex);
166 return -EINVAL; 171 return -EINVAL;
@@ -991,6 +996,7 @@ static struct drm_info_list i915_debugfs_list[] = {
991 {"i915_gem_flushing", i915_gem_object_list_info, 0, (void *) FLUSHING_LIST}, 996 {"i915_gem_flushing", i915_gem_object_list_info, 0, (void *) FLUSHING_LIST},
992 {"i915_gem_inactive", i915_gem_object_list_info, 0, (void *) INACTIVE_LIST}, 997 {"i915_gem_inactive", i915_gem_object_list_info, 0, (void *) INACTIVE_LIST},
993 {"i915_gem_pinned", i915_gem_object_list_info, 0, (void *) PINNED_LIST}, 998 {"i915_gem_pinned", i915_gem_object_list_info, 0, (void *) PINNED_LIST},
999 {"i915_gem_deferred_free", i915_gem_object_list_info, 0, (void *) DEFERRED_FREE_LIST},
994 {"i915_gem_pageflip", i915_gem_pageflip_info, 0}, 1000 {"i915_gem_pageflip", i915_gem_pageflip_info, 0},
995 {"i915_gem_request", i915_gem_request_info, 0}, 1001 {"i915_gem_request", i915_gem_request_info, 0},
996 {"i915_gem_seqno", i915_gem_seqno_info, 0}, 1002 {"i915_gem_seqno", i915_gem_seqno_info, 0},