From 0219ecbfa056c7e0fd4b49f05bddc13aaccdb3f0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 15 Jan 2021 16:38:20 -0500 Subject: [PATCH] pan/bi: Rename NO_FP32_TRANSCENDENTALS quirk Make it more obvious what the issue is. "_FAST" is not a suffix on Bifrost. Signed-off-by: Alyssa Rosenzweig Acked-by: Boris Brezillon Part-of: --- src/panfrost/bifrost/bi_quirks.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/panfrost/bifrost/bi_quirks.h b/src/panfrost/bifrost/bi_quirks.h index 06ee8c01add..380914dd066 100644 --- a/src/panfrost/bifrost/bi_quirks.h +++ b/src/panfrost/bifrost/bi_quirks.h @@ -34,11 +34,10 @@ #define BIFROST_NO_PRELOAD (1 << 0) -/* Whether this GPU lacks support for the _FAST family of opcodes for fast - * computation of special functions requiring lookup tables. Early GPUs require - * rather unweildly lowering mechanisms for thesr things. */ +/* Whether this GPU lacks support for fp32 transcendentals, requiring backend + * lowering to low-precision lookup tables and polynomial approximation */ -#define BIFROST_NO_FAST_OP (1 << 1) +#define BIFROST_NO_FP32_TRANSCENDENTALS (1 << 1) static inline unsigned bifrost_get_quirks(unsigned product_id)