iris: dump gtt offset in dump_validation_list
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 6 Apr 2018 00:03:07 +0000 (17:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:05 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_batch.c

index 72ede9f53dad4baeec08a8c53073ae1d5ffd76a3..7602da27f37ba730292bfd48bfda1fbe08b20559 100644 (file)
@@ -62,10 +62,11 @@ dump_validation_list(struct iris_batch *batch)
    for (int i = 0; i < batch->exec_count; i++) {
       assert(batch->validation_list[i].handle ==
              batch->exec_bos[i]->gem_handle);
-      fprintf(stderr, "[%d] = %d %s %p\n", i,
+      fprintf(stderr, "[%d] = %d %s %p @ %"PRIx64"\n", i,
               batch->validation_list[i].handle,
               batch->exec_bos[i]->name,
-              batch->exec_bos[i]);
+              batch->exec_bos[i],
+              batch->exec_bos[i]->gtt_offset);
    }
 }