mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
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:
parent
0219ecbfa0
commit
3aadebf4a8
1 changed files with 4 additions and 6 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue