pan/bi: Remove unused definitions
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>
This commit is contained in:

committed by
Marge Bot

parent
4f71801aa2
commit
07456bcde2
@@ -219,57 +219,6 @@ struct bifrost_regs {
|
|||||||
unsigned ctrl : 4;
|
unsigned ctrl : 4;
|
||||||
} __attribute__((packed));
|
} __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_CONSTANTS 0b0011
|
||||||
#define BIFROST_FMTC_FINAL 0b0111
|
#define BIFROST_FMTC_FINAL 0b0111
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user