diff options
Diffstat (limited to 'lib/ioctl_wrappers.c')
-rw-r--r-- | lib/ioctl_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c index 0929c43f..bda9a764 100644 --- a/lib/ioctl_wrappers.c +++ b/lib/ioctl_wrappers.c @@ -1661,7 +1661,7 @@ void igt_require_fb_modifiers(int fd) int ret; ret = drmGetCap(fd, DRM_CAP_ADDFB2_MODIFIERS, &cap_modifiers); - igt_assert(ret == 0 || errno == EINVAL); + igt_assert(ret == 0 || errno == EINVAL || errno == EOPNOTSUPP); has_modifiers = ret == 0 && cap_modifiers == 1; cap_modifiers_tested = true; } |