Module: Mesa Branch: main Commit: 1d4fa05b786dd31e765d51c70e4c00e06690450c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1d4fa05b786dd31e765d51c70e4c00e06690450c
Author: Boris Brezillon <boris.brezil...@collabora.com> Date: Wed Nov 15 12:06:50 2023 +0100 pan/decode: Fix the pan_unpack() call for JUMP instruction unpacking We are unpacking a CALL instead of JUMP instruction. It doesn't make a difference because the instruction layout is the same, but let's fix that for the sake of correctness. Signed-off-by: Boris Brezillon <boris.brezil...@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-l...@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26221> --- src/panfrost/lib/genxml/decode_csf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/lib/genxml/decode_csf.c b/src/panfrost/lib/genxml/decode_csf.c index e9239af774e..f713b468554 100644 --- a/src/panfrost/lib/genxml/decode_csf.c +++ b/src/panfrost/lib/genxml/decode_csf.c @@ -707,7 +707,7 @@ interpret_ceu_instr(struct pandecode_context *ctx, struct queue_ctx *qctx) } case MALI_CEU_OPCODE_JUMP: { - pan_unpack(bytes, CEU_CALL, I); + pan_unpack(bytes, CEU_JUMP, I); if (qctx->call_stack_depth == 0) { fprintf(stderr, "Cannot jump from the entrypoint\n");