mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
anv: Fix the size/aperture space debug printouts to consider _ccs_size.
It's added in at anv_bo_vma_alloc_or_close(), so count it here too. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20540>
This commit is contained in:
parent
e937c4b716
commit
38e29fe712
1 changed files with 2 additions and 1 deletions
|
|
@ -1840,10 +1840,11 @@ anv_queue_exec_locked(struct anv_queue *queue,
|
|||
(float)total_size_kb / 1024.0f);
|
||||
for (uint32_t i = 0; i < execbuf.bo_count; i++) {
|
||||
const struct anv_bo *bo = execbuf.bos[i];
|
||||
uint64_t size = bo->size + bo->_ccs_size;
|
||||
|
||||
fprintf(stderr, " BO: addr=0x%016"PRIx64"-0x%016"PRIx64" size=0x%010"PRIx64
|
||||
" handle=%05u capture=%u name=%s\n",
|
||||
bo->offset, bo->offset + bo->size - 1, bo->size, bo->gem_handle,
|
||||
bo->offset, bo->offset + size - 1, size, bo->gem_handle,
|
||||
(bo->flags & EXEC_OBJECT_CAPTURE) != 0, bo->name);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue