mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 04:38:04 +02:00
nouveau: fix drm version check some more
... and make a mental note to not push commits before having coffee Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
d1cec6d2a9
commit
81fa7a9f56
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ nouveau_device_open_existing(struct nouveau_device **dev, int close,
|
|||
if (!ver)
|
||||
return -EINVAL;
|
||||
|
||||
if ((ver->version_major == 0 && ver->version_patchlevel != 16) &&
|
||||
if ((ver->version_major == 0 && ver->version_patchlevel != 16) ||
|
||||
ver->version_major > 1) {
|
||||
nouveau_device_close((void *)&nvdev);
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue