summaryrefslogtreecommitdiff
path: root/lib/mesa/src/broadcom/qpu/qpu_disasm.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2021-07-22 10:17:30 +0000
commitca11beabae33eb59fb981b8adf50b1d47a2a98f0 (patch)
tree3e4691a396e6e54cd54224a190663d5cf976625b /lib/mesa/src/broadcom/qpu/qpu_disasm.c
parent27c8a50e8bbde7d28b1fc46d715a4c469e24f2c4 (diff)
Import Mesa 21.1.5
Diffstat (limited to 'lib/mesa/src/broadcom/qpu/qpu_disasm.c')
-rw-r--r--lib/mesa/src/broadcom/qpu/qpu_disasm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/mesa/src/broadcom/qpu/qpu_disasm.c b/lib/mesa/src/broadcom/qpu/qpu_disasm.c
index 9f59bcdf7..b5648bd76 100644
--- a/lib/mesa/src/broadcom/qpu/qpu_disasm.c
+++ b/lib/mesa/src/broadcom/qpu/qpu_disasm.c
@@ -90,7 +90,7 @@ v3d_qpu_disasm_waddr(struct disasm_state *disasm, uint32_t waddr, bool magic)
return;
}
- const char *name = v3d_qpu_magic_waddr_name(waddr);
+ const char *name = v3d_qpu_magic_waddr_name(disasm->devinfo, waddr);
if (name)
append(disasm, "%s", name);
else
@@ -187,7 +187,9 @@ v3d_qpu_disasm_sig_addr(struct disasm_state *disasm,
if (!instr->sig_magic)
append(disasm, ".rf%d", instr->sig_addr);
else {
- const char *name = v3d_qpu_magic_waddr_name(instr->sig_addr);
+ const char *name =
+ v3d_qpu_magic_waddr_name(disasm->devinfo,
+ instr->sig_addr);
if (name)
append(disasm, ".%s", name);
else