From c5a87365523f4b5cb183e791937f48eb36391ec3 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 16 Jun 2022 14:47:05 -0400 Subject: [PATCH] pan/bi: Constify bi_is_staging_src argument Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 010b0a4..399c02c 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -542,7 +542,7 @@ typedef struct { } bi_instr; static inline bool -bi_is_staging_src(bi_instr *I, unsigned s) +bi_is_staging_src(const bi_instr *I, unsigned s) { return (s == 0 || s == 4) && bi_opcode_props[I->op].sr_read; } -- 2.7.4