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>
}
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();
}
}
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();