From: Alyssa Rosenzweig Date: Sun, 20 Sep 2020 20:26:14 +0000 (-0400) Subject: pan/bi: Remove old register mode definitions X-Git-Tag: upstream/21.0.0~5134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28a76161e5d4ef79381206b734e8ce415675a3ca;p=platform%2Fupstream%2Fmesa.git pan/bi: Remove old register mode definitions Now replaced by canonical equivalents. Signed-off-by: Alyssa Rosenzweig Part-of: --- 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