pan/bi: Remove old register mode definitions
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Sun, 20 Sep 2020 20:26:14 +0000 (16:26 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Sep 2020 11:27:22 +0000 (11:27 +0000)
Now replaced by canonical equivalents.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6793>

src/panfrost/bifrost/bifrost.h

index bd556fe..177cb03 100644 (file)
@@ -183,12 +183,6 @@ enum branch_bit_size {
         BR_SIZE_ZERO = 7,
 };
 
-enum bifrost_reg_write_unit {
-        REG_WRITE_NONE = 0, // don't write
-        REG_WRITE_TWO, // write using reg2
-        REG_WRITE_THREE, // write using reg3
-};
-
 struct bifrost_regs {
         unsigned uniform_const : 8;
         unsigned reg3 : 6;
@@ -259,25 +253,6 @@ struct bifrost_fmt_constant {
         uint64_t imm_2 : 60;
 } __attribute__((packed));
 
-enum bifrost_reg_control {
-        BIFROST_WRITE_FMA_P2         = 1,
-        BIFROST_WRITE_FMA_P2_READ_P3 = 2,
-        BIFROST_FIRST_WRITE_FMA_P2_READ_P3 = 3,
-        BIFROST_READ_P3              = 4,
-        BIFROST_WRITE_ADD_P2         = 5,
-        BIFROST_WRITE_ADD_P2_READ_P3 = 6,
-        BIFROST_WRITE_ADD_P2_FMA_P3  = 7,
-
-        BIFROST_FIRST_NONE           = 8,
-        BIFROST_FIRST_WRITE_FMA_P2   = 9,
-        /* INSTR_INVALID_ENC */
-        BIFROST_REG_NONE             = 11,
-        BIFROST_FIRST_READ_P3        = 12,
-        BIFROST_FIRST_WRITE_ADD_P2   = 13,
-        BIFROST_FIRST_WRITE_ADD_P2_READ_P3 = 14,
-        BIFROST_FIRST_WRITE_ADD_P2_FMA_P3  = 15
-};
-
 /* 32-bit modes for slots 2/3, as encoded in the register block. Other values
  * are reserved. First part specifies behaviour of slot 2 (Idle, Read, Write
  * Full, Write Low, Write High), second part behaviour of slot 3, and the last