From 28a76161e5d4ef79381206b734e8ce415675a3ca Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sun, 20 Sep 2020 16:26:14 -0400 Subject: [PATCH] pan/bi: Remove old register mode definitions Now replaced by canonical equivalents. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost.h | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index bd556fe..177cb03 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -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 -- 2.7.4