mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
i965/bxt: Don't use brw_device_info_skl_early on BXT
Previously it could end up using the “SKL early” device on BXT depending on the revision number. This would probably break things because for example has_llc would be wrong. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
75a96cedf7
commit
3a21e4bd26
1 changed files with 3 additions and 1 deletions
|
|
@ -365,7 +365,9 @@ brw_get_device_info(int devid, int revision)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (devinfo->gen == 9 && (revision == 2 || revision == 3 || revision == -1))
|
||||
if (devinfo->gen == 9 &&
|
||||
!devinfo->is_broxton &&
|
||||
(revision == 2 || revision == 3 || revision == -1))
|
||||
return &brw_device_info_skl_early;
|
||||
|
||||
return devinfo;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue