panfrost: Pin an architecture for blending
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 8 Jul 2021 17:59:18 +0000 (13:59 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 12 Jul 2021 23:12:29 +0000 (23:12 +0000)
Need to pick something but it's all the same, even on Valhall.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11785>

src/panfrost/lib/pan_blend.c

index 6f3082e..d018f39 100644 (file)
 #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 <midgard_pack.h>
+
 /* Fixed function blending */
 
 static bool