From 985fff6c403fbfa9bddd4775e22b1c078de873fb Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 27 May 2024 22:04:13 +0300 Subject: [PATCH] anv: fix utrace compute walker timestamp captures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The output of the POSTSYNC_DATA has to be 32-byte aligned. Signed-off-by: Lionel Landwerlin Fixes: 521c216efc ("anv: use COMPUTE_WALKER post sync field to track compute work") Reviewed-by: José Roberto de Souza Part-of: (cherry picked from commit 1511b25b0fae372f446185ebbd515e52a924c2cc) --- .pick_status.json | 2 +- src/intel/vulkan/anv_utrace.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index c629550252c..97de0fd9368 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1004,7 +1004,7 @@ "description": "anv: fix utrace compute walker timestamp captures", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "521c216efcc0d0292ceedb3451c5a0a1ef956083", "notes": null diff --git a/src/intel/vulkan/anv_utrace.c b/src/intel/vulkan/anv_utrace.c index 9b66300a44c..0afbe1e0524 100644 --- a/src/intel/vulkan/anv_utrace.c +++ b/src/intel/vulkan/anv_utrace.c @@ -49,7 +49,7 @@ union anv_utrace_timestamp { * [2] = 32b Context Timestamp End * [3] = 32b Global Timestamp End" */ - uint32_t compute_walker[4]; + uint32_t compute_walker[8]; }; static uint32_t