anv: improve INTEL_DEBUG for submit

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15950>
This commit is contained in:
Lionel Landwerlin 2021-10-22 16:10:01 +03:00 committed by Marge Bot
parent ff05137c2d
commit a1969fa777
1 changed files with 3 additions and 2 deletions

View File

@ -2163,8 +2163,9 @@ anv_queue_exec_locked(struct anv_queue *queue,
for (uint32_t i = 0; i < execbuf.bo_count; i++) {
const struct anv_bo *bo = execbuf.bos[i];
fprintf(stderr, " BO: addr=0x%016"PRIx64" size=%010"PRIx64" handle=%05u name=%s\n",
bo->offset, bo->size, bo->gem_handle, bo->name);
fprintf(stderr, " BO: addr=0x%016"PRIx64"-0x%016"PRIx64" size=0x%010"PRIx64
" handle=%05u name=%s\n",
bo->offset, bo->offset + bo->size - 1, bo->size, bo->gem_handle, bo->name);
}
}