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

Author: Paulo Zanoni <paulo.r.zan...@intel.com>
Date:   Thu Sep 28 14:13:11 2023 -0700

anv/sparse: also print bind->address at dump_anv_vm_bind

This helped tracking down xe.ko bug #746.

Reviewed-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zan...@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26036>

---

 src/intel/vulkan/anv_sparse.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/vulkan/anv_sparse.c b/src/intel/vulkan/anv_sparse.c
index 75606fa92f9..9b2471332d9 100644
--- a/src/intel/vulkan/anv_sparse.c
+++ b/src/intel/vulkan/anv_sparse.c
@@ -63,9 +63,9 @@ dump_anv_vm_bind(struct anv_device *device,
    else
       sparse_debug("bo:---- ");
    sparse_debug("res_offset:%08"PRIx64" size:%08"PRIx64" "
-                "mem_offset:%08"PRIx64"\n",
+                "mem_offset:%08"PRIx64" addr:%016"PRIx64"\n",
                 bind->address - sparse->address, bind->size,
-                bind->bo_offset);
+                bind->bo_offset, bind->address);
 }
 
 static void

Reply via email to