summaryrefslogtreecommitdiffstats
path: root/src/broadcom/qpu/tests
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-01-27 18:29:37 +1100
committerEric Anholt <[email protected]>2018-01-27 19:03:55 +1100
commitf2e41daac577f0b34b345e8e4c801f44454faa02 (patch)
tree5722a787ce3e5660fe5879e9794ed3b8e5a08c8e /src/broadcom/qpu/tests
parent96d3e8f134fb047fb4883737da55ff491d3ee585 (diff)
broadcom/vc5: Update QPU instruction pack/unpack for v4.2.
After the 4.1 spec, 4.2 retroactively renamed patchid to barrierid because it's used for other barriers in compute.
Diffstat (limited to 'src/broadcom/qpu/tests')
-rw-r--r--src/broadcom/qpu/tests/qpu_disasm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/broadcom/qpu/tests/qpu_disasm.c b/src/broadcom/qpu/tests/qpu_disasm.c
index a8e803ad815..814e032bf1c 100644
--- a/src/broadcom/qpu/tests/qpu_disasm.c
+++ b/src/broadcom/qpu/tests/qpu_disasm.c
@@ -82,6 +82,9 @@ static const struct {
{ 41, 0x3de020c7bdfd200dull, "ldvpmg_in rf7, r2, r2; mov r3, 13" },
{ 41, 0x3de02040f8ff7201ull, "stvpmv 1, rf8 ; mov r1, 1" },
{ 41, 0xd8000e50bb2d3000ull, "sampid rf16 ; fmul rf57.h, r3, r1.l" },
+
+ /* v4.2 changes */
+ { 42, 0x3c203192bb814000ull, "barrierid syncb ; nop ; thrsw" },
};
static void