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 <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14726>
This commit is contained in:
Alyssa Rosenzweig
2022-01-25 20:04:40 -05:00
committed by Marge Bot
parent 8f0b5b4b19
commit 33399e95ae
+1 -2
View File
@@ -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;
}
}