All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/debugfs: Prune a couple of superfluous leading zeros from bo domains
@ 2012-11-27 17:06 Chris Wilson
  2012-11-27 17:06 ` [PATCH 2/2] drm/i915: Include the last semaphore sync point in the error-state Chris Wilson
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Wilson @ 2012-11-27 17:06 UTC (permalink / raw)
  To: intel-gfx

As we do not have any domains occupying the high bits, there is no point
in always printing the leading 00.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_debugfs.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
index af67308..c52758c 100644
--- a/drivers/gpu/drm/i915/i915_debugfs.c
+++ b/drivers/gpu/drm/i915/i915_debugfs.c
@@ -102,7 +102,7 @@ static const char *cache_level_str(int type)
 static void
 describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj)
 {
-	seq_printf(m, "%p: %s%s %8zdKiB %04x %04x %d %d %d%s%s%s",
+	seq_printf(m, "%p: %s%s %8zdKiB %02x %02x %d %d %d%s%s%s",
 		   &obj->base,
 		   get_pin_flag(obj),
 		   get_tiling_flag(obj),
@@ -610,7 +610,7 @@ static void print_error_buffers(struct seq_file *m,
 	seq_printf(m, "%s [%d]:\n", name, count);
 
 	while (count--) {
-		seq_printf(m, "  %08x %8u %04x %04x %x %x%s%s%s%s%s%s%s",
+		seq_printf(m, "  %08x %8u %02x %02x %x %x%s%s%s%s%s%s%s",
 			   err->gtt_offset,
 			   err->size,
 			   err->read_domains,
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-29 10:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 17:06 [PATCH 1/2] drm/i915/debugfs: Prune a couple of superfluous leading zeros from bo domains Chris Wilson
2012-11-27 17:06 ` [PATCH 2/2] drm/i915: Include the last semaphore sync point in the error-state Chris Wilson
2012-11-27 20:54   ` Ben Widawsky
2012-11-27 21:04     ` Chris Wilson
2012-11-29  9:16   ` Mika Kuoppala
2012-11-29 10:01     ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.