From fccbf4985d4554ac595e1cfa6543973a77d3ecd5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 22 Jul 2021 18:45:21 -0400 Subject: [PATCH] pan/bi: Model Valhall special values as FAU Not sure if this is "really" FAU but it's convenient to treat it as such. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index bb2fc0e..c1ac907 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -611,7 +611,16 @@ enum bir_fau { BIR_FAU_BLEND_0 = 8, /* blend descs 1 - 7 */ BIR_FAU_TYPE_MASK = 15, + + /* Valhall only */ + BIR_FAU_TLS_PTR = 16, + BIR_FAU_WLS_PTR = 17, + BIR_FAU_PROGRAM_COUNTER = 18, + BIR_FAU_UNIFORM = (1 << 7), + /* Look up table on Valhall */ + BIR_FAU_IMMEDIATE = (1 << 8), + }; static inline bi_index -- 2.7.4