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 c07f380..d5eb2b9 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 f9fb016..68df6fe 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)