pan/bi: Remove unused definitions
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 19 Feb 2021 15:45:57 +0000 (10:45 -0500)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Feb 2021 19:17:50 +0000 (19:17 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9164>

src/panfrost/bifrost/bifrost.h

index 304c082..be3a2d0 100644 (file)
@@ -219,57 +219,6 @@ struct bifrost_regs {
         unsigned ctrl : 4;
 } __attribute__((packed));
 
-enum bifrost_branch_cond {
-        BR_COND_LT = 0,
-        BR_COND_LE = 1,
-        BR_COND_GE = 2,
-        BR_COND_GT = 3,
-        // Equal vs. not-equal determined by src0/src1 comparison
-        BR_COND_EQ = 4,
-        // floating-point comparisons
-        // Becomes UNE when you flip the arguments
-        BR_COND_OEQ = 5,
-        // TODO what happens when you flip the arguments?
-        BR_COND_OGT = 6,
-        BR_COND_OLT = 7,
-};
-
-enum bifrost_branch_code {
-        BR_ALWAYS = 63,
-};
-
-#define BIFROST_ADD_OP_BRANCH (0x0d000 >> 12)
-
-struct bifrost_branch {
-        unsigned src0 : 3;
-
-        /* For BR_SIZE_ZERO, upper two bits become ctrl */
-        unsigned src1 : 3;
-
-        /* Offset source -- always uniform/const but
-         * theoretically could support indirect jumps? */
-        unsigned src2 : 3;
-
-        enum bifrost_branch_cond cond : 3;
-        enum branch_bit_size size : 3;
-
-        unsigned op : 5;
-};
-
-/* Clause packing */
-
-struct bifrost_fmt1 {
-        unsigned ins_0 : 3;
-        unsigned tag : 5;
-        uint64_t ins_1 : 64;
-        unsigned ins_2 : 11;
-        uint64_t header : 45;
-} __attribute__((packed));
-
-#define BIFROST_FMT1_INSTRUCTIONS    0b00101
-#define BIFROST_FMT1_FINAL           0b01001
-#define BIFROST_FMT1_CONSTANTS       0b00001
-
 #define BIFROST_FMTC_CONSTANTS       0b0011
 #define BIFROST_FMTC_FINAL           0b0111