From b190d08a8aafc8a789e61fc151be58fa04fd26fe Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 28 Dec 2022 15:57:01 -0500 Subject: [PATCH] pan/mdg: Remove reference to removed macro This will soon be more confusing than helpful. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/helpers.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/panfrost/midgard/helpers.h b/src/panfrost/midgard/helpers.h index f2161c7..ac062e0 100644 --- a/src/panfrost/midgard/helpers.h +++ b/src/panfrost/midgard/helpers.h @@ -99,11 +99,10 @@ /* Denotes an opcode that takes a vector input with a fixed-number of * channels, but outputs to only a single output channel, like dot products. * For these, to determine the effective mask, this quirk can be set. We have - * an intentional off-by-one (a la MALI_POSITIVE), since 0-channel makes no - * sense but we need to fit 4 channels in 2-bits. Similarly, 1-channel doesn't - * make sense (since then why are we quirked?), so that corresponds to "no - * count set" */ - + * an intentional off-by-one, since 0-channel makes no sense but we need to fit + * 4 channels in 2-bits. Similarly, 1-channel doesn't make sense (since then why + * are we quirked?), so that corresponds to "no count set". + */ #define OP_CHANNEL_COUNT(c) ((c - 1) << 0) #define GET_CHANNEL_COUNT(c) ((c & (0x3 << 0)) ? ((c & (0x3 << 0)) + 1) : 0) -- 2.7.4