iris: don't print the pointer in INTEL_DEBUG=submit
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 8 Dec 2018 19:21:48 +0000 (11:21 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
lots of noise in diff, hope was it would be useful for gdb, but the
the GEM handle is good enough

src/gallium/drivers/iris/iris_batch.c

index b9fa6d6dc2d475a0d2dff598f6a96e72b32b0a0e..5a507655b230b347c4c985aeb68ad11a24d6accb 100644 (file)
@@ -100,15 +100,14 @@ dump_validation_list(struct iris_batch *batch)
       uint64_t flags = batch->validation_list[i].flags;
       assert(batch->validation_list[i].handle ==
              batch->exec_bos[i]->gem_handle);
-      fprintf(stderr, "[%2d]: %2d %-14s %p %-7s @ 0x%016llx (%"PRIu64"B) - %d refs\n",
+      fprintf(stderr, "[%2d]: %2d %-14s @ 0x%016llx (%"PRIu64"B)\t %2d refs %s\n",
               i,
               batch->validation_list[i].handle,
               batch->exec_bos[i]->name,
-              batch->exec_bos[i],
-              (flags & EXEC_OBJECT_WRITE) ? "(write)" : "",
               batch->validation_list[i].offset,
               batch->exec_bos[i]->size,
-              batch->exec_bos[i]->refcount);
+              batch->exec_bos[i]->refcount,
+              (flags & EXEC_OBJECT_WRITE) ? " (write)" : "");
    }
 }