diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-02 11:48:57 -0500 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-07 18:39:32 -0500 |
commit | fcffb947668073fd9c47da33f8e72add7f62163d (patch) | |
tree | 2142c5b7da6006629b5b543e05c64a77f5f93201 /drivers/gpu | |
parent | fc61901373987ad61851ed001fe971f3ee8d96a3 (diff) |
drm/i915: Report purgeable status in buffer lists.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/i915/i915_debugfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index eeed4e34c757..18476bf0b580 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c | |||
@@ -97,13 +97,14 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data) | |||
97 | { | 97 | { |
98 | struct drm_gem_object *obj = obj_priv->obj; | 98 | struct drm_gem_object *obj = obj_priv->obj; |
99 | 99 | ||
100 | seq_printf(m, " %p: %s %8zd %08x %08x %d %s", | 100 | seq_printf(m, " %p: %s %8zd %08x %08x %d%s%s", |
101 | obj, | 101 | obj, |
102 | get_pin_flag(obj_priv), | 102 | get_pin_flag(obj_priv), |
103 | obj->size, | 103 | obj->size, |
104 | obj->read_domains, obj->write_domain, | 104 | obj->read_domains, obj->write_domain, |
105 | obj_priv->last_rendering_seqno, | 105 | obj_priv->last_rendering_seqno, |
106 | obj_priv->dirty ? "dirty" : ""); | 106 | obj_priv->dirty ? " dirty" : "", |
107 | obj_priv->madv == I915_MADV_DONTNEED ? " purgeable" : ""); | ||
107 | 108 | ||
108 | if (obj->name) | 109 | if (obj->name) |
109 | seq_printf(m, " (name: %d)", obj->name); | 110 | seq_printf(m, " (name: %d)", obj->name); |