From: Alyssa Rosenzweig Date: Thu, 22 Jul 2021 22:45:21 +0000 (-0400) Subject: pan/bi: Model Valhall special values as FAU X-Git-Tag: upstream/22.3.5~19787 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fccbf4985d4554ac595e1cfa6543973a77d3ecd5;p=platform%2Fupstream%2Fmesa.git 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: --- 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