broadcom/vc5: Drop signal bit #defines.
authorEric Anholt <eric@anholt.net>
Thu, 4 Jan 2018 19:21:33 +0000 (11:21 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 13 Jan 2018 05:53:53 +0000 (21:53 -0800)
Signals are more complicated than that, and tables ended up being better.

src/broadcom/qpu/qpu_instr.c
src/broadcom/qpu/qpu_pack.c

index c07f3802fd484538a92c057315b27588d89a7768..d5eb2b95dd53c43978c9fa9c30f7ee063b2c90bc 100644 (file)
 
 #define VC5_QPU_SIG_SHIFT                   53
 #define VC5_QPU_SIG_MASK                    QPU_MASK(57, 53)
-# define VC5_QPU_SIG_THRSW_BIT              0x1
-# define VC5_QPU_SIG_LDUNIF_BIT             0x2
-# define VC5_QPU_SIG_LDTMU_BIT              0x4
-# define VC5_QPU_SIG_LDVARY_BIT             0x8
 
 #define VC5_QPU_COND_SHIFT                  46
 #define VC5_QPU_COND_MASK                   QPU_MASK(52, 46)
index f9fb016f61002cd09ff1676a4438b654b2e13853..68df6fe64c49de9c8669b5a4a1187bdab0d2f23c 100644 (file)
 
 #define VC5_QPU_SIG_SHIFT                   53
 #define VC5_QPU_SIG_MASK                    QPU_MASK(57, 53)
-# define VC5_QPU_SIG_THRSW_BIT              0x1
-# define VC5_QPU_SIG_LDUNIF_BIT             0x2
-# define VC5_QPU_SIG_LDTMU_BIT              0x4
-# define VC5_QPU_SIG_LDVARY_BIT             0x8
 
 #define VC5_QPU_COND_SHIFT                  46
 #define VC5_QPU_COND_MASK                   QPU_MASK(52, 46)