From 8db1c0e5091848299fe486ff3e798446aa7d62a3 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 8 Jul 2021 13:59:18 -0400 Subject: [PATCH] panfrost: Pin an architecture for blending Need to pick something but it's all the same, even on Valhall. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/lib/pan_blend.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/panfrost/lib/pan_blend.c b/src/panfrost/lib/pan_blend.c index 6f3082e7234..d018f397768 100644 --- a/src/panfrost/lib/pan_blend.c +++ b/src/panfrost/lib/pan_blend.c @@ -32,6 +32,11 @@ #include "compiler/nir/nir_conversion_builder.h" #include "compiler/nir/nir_lower_blend.h" +/* Blending is shared across all supported Malis with only minor differences, + * so pin a particular version */ +#define ARCH 7 +#include + /* Fixed function blending */ static bool