Commit 725ceaa0 authored by Chris Wilson's avatar Chris Wilson Committed by Jesse Barnes

drm/i915: Include buffer size and dirty state in debugfs lists

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent e67b8ce1
...@@ -96,11 +96,13 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data) ...@@ -96,11 +96,13 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
{ {
struct drm_gem_object *obj = obj_priv->obj; struct drm_gem_object *obj = obj_priv->obj;
seq_printf(m, " %p: %s %08x %08x %d", seq_printf(m, " %p: %s %8zd %08x %08x %d %s",
obj, obj,
get_pin_flag(obj_priv), get_pin_flag(obj_priv),
obj->size,
obj->read_domains, obj->write_domain, obj->read_domains, obj->write_domain,
obj_priv->last_rendering_seqno); obj_priv->last_rendering_seqno,
obj_priv->dirty ? "dirty" : "");
if (obj->name) if (obj->name)
seq_printf(m, " (name: %d)", obj->name); seq_printf(m, " (name: %d)", obj->name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment