From 1d4fa05b786dd31e765d51c70e4c00e06690450c Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 15 Nov 2023 12:06:50 +0100 Subject: [PATCH] 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 Reviewed-by: Erik Faye-Lund Part-of: --- 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");