broadcom/genxml: Check the sub-id field when decoding instructions.
authorEric Anholt <eric@anholt.net>
Thu, 13 Jul 2017 20:20:29 +0000 (13:20 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 18 Aug 2017 18:56:58 +0000 (11:56 -0700)
commit7c576d60914d47cfd345868521b1dec84ad0e2f2
tree2fbc20950a2e81b0ff30f2f3fe2e6cad7d68851d
parent14fe9fd3f7e39ccad316ef2be17fea0cc1aaad73
broadcom/genxml: Check the sub-id field when decoding instructions.

VC5 introduces packet variants where the same opcode has behavior that is
decided by a sub-id field in the early bits of the packet.  Keep iterating
over packets until we find the one with the matching sub-id.
src/broadcom/cle/v3d_decoder.c