Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a01c75b3 authored by Ben Gamari's avatar Ben Gamari Committed by Eric Anholt
Browse files

drm/i915: Add gtt_offset to gem object list debugfs output



This is quite useful for verifying that objects are actually mapped when
they need to be.

Signed-off-by: default avatarBen Gamari <bgamari.foss@gmail.com>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent b5323599
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -104,7 +104,10 @@ static int i915_gem_object_list_info(struct seq_file *m, void *data)
		if (obj->name)
			seq_printf(m, " (name: %d)", obj->name);
		if (obj_priv->fence_reg != I915_FENCE_REG_NONE)
			seq_printf(m, " (fence: %d)\n", obj_priv->fence_reg);
			seq_printf(m, " (fence: %d)", obj_priv->fence_reg);
		if (obj_priv->gtt_space != NULL)
			seq_printf(m, " (gtt_offset: %08x)", obj_priv->gtt_offset);

		seq_printf(m, "\n");
	}