Mesa (main): anv: improve INTEL_DEBUG for submit

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 19 08:02:40 UTC 2022


Module: Mesa
Branch: main
Commit: a1969fa7778d62359ffc23d2a9d56890a117ff0f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1969fa7778d62359ffc23d2a9d56890a117ff0f

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Fri Oct 22 16:10:01 2021 +0300

anv: improve INTEL_DEBUG for submit

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15950>

---

 src/intel/vulkan/anv_batch_chain.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/intel/vulkan/anv_batch_chain.c b/src/intel/vulkan/anv_batch_chain.c
index 4043c8417de..38251c74225 100644
--- a/src/intel/vulkan/anv_batch_chain.c
+++ b/src/intel/vulkan/anv_batch_chain.c
@@ -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);
       }
    }
 



More information about the mesa-commit mailing list