From: Connor Abbott Date: Mon, 17 Aug 2020 12:11:39 +0000 (+0200) Subject: freedreno/afuc: Fix printing preemptleave on a5xx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0acc394486fcf8b4dc4cde268b621e89d7f4a0bd;p=mesa.git freedreno/afuc: Fix printing preemptleave on a5xx This opcode is actually used on a5xx, but I'm not sure what it's for. Part-of: --- diff --git a/src/freedreno/afuc/disasm.c b/src/freedreno/afuc/disasm.c index ae7abddaab0..d170b152fad 100644 --- a/src/freedreno/afuc/disasm.c +++ b/src/freedreno/afuc/disasm.c @@ -667,9 +667,10 @@ static void disasm(uint32_t *buf, int sizedwords) case OPC_PREEMPTLEAVE6: if (gpuver < 6) { printf("[%08x] ; op38", instrs[i]); + } else { + printf("preemptleave #"); + printlbl("%s", label_name(instr->call.uoff, true)); } - printf("preemptleave #"); - printlbl("%s", label_name(instr->call.uoff, true)); break; default: printerr("[%08x]", instrs[i]);