diff options
Diffstat (limited to 'tools/aubdump.c')
-rw-r--r-- | tools/aubdump.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/aubdump.c b/tools/aubdump.c index c290ecaa..c2950375 100644 --- a/tools/aubdump.c +++ b/tools/aubdump.c @@ -831,15 +831,18 @@ dump_execbuffer2(int fd, struct drm_i915_gem_execbuffer2 *execbuffer2) return; } - if (verbose) - printf("BO #%d (%dB) @ 0x%x\n", obj->handle, bo->size, offset); - if (obj->flags & EXEC_OBJECT_PINNED) { bo->offset = obj->offset; + if (verbose) + printf("BO #%d (%dB) pinned @ 0x%lx\n", + obj->handle, bo->size, bo->offset); } else { if (obj->alignment != 0) offset = align_u32(offset, obj->alignment); bo->offset = offset; + if (verbose) + printf("BO #%d (%dB) @ 0x%lx\n", obj->handle, + bo->size, bo->offset); offset = align_u32(offset + bo->size + 4095, 4096); } |