From 33399e95aea0ec02faf2987bacf7270f91576887 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 25 Jan 2022 20:04:40 -0500 Subject: [PATCH] pan/bi: Assume future Valhall is 16-wide warps This is true for v10 at least, per the public data sheet. It seems like a reasonable default going forward to eliminate a special case. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_quirks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panfrost/bifrost/bi_quirks.h b/src/panfrost/bifrost/bi_quirks.h index d6727895577..ec21da0d2ca 100644 --- a/src/panfrost/bifrost/bi_quirks.h +++ b/src/panfrost/bifrost/bi_quirks.h @@ -64,8 +64,7 @@ bifrost_lanes_per_warp(unsigned product_id) switch (product_id >> 12) { case 6: return 4; case 7: return 8; - case 9: return 16; - default: unreachable("Invalid Bifrost/Valhall GPU major"); + default: return 16; } }