pan/bi: Fix bi quirks detection

There is no Bifrost v8...

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8894>
This commit is contained in:
Alyssa Rosenzweig 2021-02-05 21:51:37 -05:00 committed by Marge Bot
parent 0219ecbfa0
commit 3aadebf4a8

View file

@ -42,14 +42,12 @@
static inline unsigned
bifrost_get_quirks(unsigned product_id)
{
switch (product_id >> 12) {
case 6: /* 1st gen */
switch (product_id >> 8) {
case 0x62:
return BIFROST_NO_PRELOAD;
case 7: /* 2nd gen */
case 8: /* 3rd gen */
case 0x70:
case 0x72:
return 0;
default:
unreachable("Unknown Bifrost GPU ID");
}