Mesa (main): crocus: fix another printf specifier.

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 24 07:21:56 UTC 2021


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jun 24 16:52:01 2021 +1000

crocus: fix another printf specifier.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11570>

---

 src/gallium/drivers/crocus/crocus_batch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/crocus/crocus_batch.c b/src/gallium/drivers/crocus/crocus_batch.c
index 5c476808ef4..0cf32c69e58 100644
--- a/src/gallium/drivers/crocus/crocus_batch.c
+++ b/src/gallium/drivers/crocus/crocus_batch.c
@@ -893,9 +893,9 @@ submit_batch(struct crocus_batch *batch)
 
       /* Update brw_bo::gtt_offset */
       if (batch->validation_list[i].offset != bo->gtt_offset) {
-         DBG("BO %d migrated: 0x%" PRIx64 " -> 0x%llx\n",
+         DBG("BO %d migrated: 0x%" PRIx64 " -> 0x%" PRIx64 "\n",
              bo->gem_handle, bo->gtt_offset,
-             batch->validation_list[i].offset);
+             (uint64_t)batch->validation_list[i].offset);
          assert(!(bo->kflags & EXEC_OBJECT_PINNED));
          bo->gtt_offset = batch->validation_list[i].offset;
       }



More information about the mesa-commit mailing list