mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-20 22:50:36 +01:00
iris: fail to create screen for older unsupported HW
loader shouldn't try, but let's be paranoid
This commit is contained in:
parent
1f91f688e8
commit
e17333ea1e
1 changed files with 3 additions and 0 deletions
|
|
@ -555,6 +555,9 @@ iris_screen_create(int fd)
|
|||
if (!gen_get_device_info(screen->pci_id, &screen->devinfo))
|
||||
return NULL;
|
||||
|
||||
if (screen->devinfo.gen < 8 || screen->devinfo.is_cherryview)
|
||||
return NULL;
|
||||
|
||||
screen->devinfo.timestamp_frequency =
|
||||
iris_getparam_integer(screen, I915_PARAM_CS_TIMESTAMP_FREQUENCY);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue