mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 15:20:10 +01:00
panvk: Take lock when tracing
We're not supposed to call the GENX(pandecode_jc) routines (e.g. pandecode_jc_v7), since it's an internal interface that expects the caller to take a lock first. Instead we're supposed to call the non-GenXML pandecode_jc entrypoint which does the locking properly. Fixes assertion failures when tracing with recent pandecode: deqp-vk: ../src/util/simple_mtx.h:142: simple_mtx_assert_locked: Assertion `mtx->val' failed. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21257>
This commit is contained in:
parent
13a4c49cb1
commit
1ba20868c4
1 changed files with 3 additions and 3 deletions
|
|
@ -78,8 +78,8 @@ panvk_queue_submit_batch(struct panvk_queue *queue,
|
|||
}
|
||||
|
||||
if (debug & PANVK_DEBUG_TRACE)
|
||||
GENX(pandecode_jc)(batch->scoreboard.first_job, pdev->gpu_id);
|
||||
|
||||
pandecode_jc(batch->scoreboard.first_job, pdev->gpu_id);
|
||||
|
||||
if (debug & PANVK_DEBUG_DUMP)
|
||||
pandecode_dump_mappings();
|
||||
}
|
||||
|
|
@ -109,7 +109,7 @@ panvk_queue_submit_batch(struct panvk_queue *queue,
|
|||
}
|
||||
|
||||
if (debug & PANVK_DEBUG_TRACE)
|
||||
GENX(pandecode_jc)(batch->fragment_job, pdev->gpu_id);
|
||||
pandecode_jc(batch->fragment_job, pdev->gpu_id);
|
||||
|
||||
if (debug & PANVK_DEBUG_DUMP)
|
||||
pandecode_dump_mappings();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue