diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2016-04-04 13:54:41 -0700 |
---|---|---|
committer | Matt Roper <matthew.d.roper@intel.com> | 2016-04-05 07:40:11 -0700 |
commit | 78a97fe1575616519e755be1ff72029c6d7fcbd7 (patch) | |
tree | 8e1d5ec2e470c082b9feaa6ee68f2175a4b16e9a /tests/kms_atomic.c | |
parent | cd8da3f65d6d6956b50e4629cb43d3a8d55faab3 (diff) |
kms_atomic: Skip rather than fail on non-atomic drivers
i915 does not yet support the atomic modesetting interface by default;
at the moment it must be turned on explicitly via an
'i915.nuclear_pageflip' kernel command line option. We should skip
(rather than fail) this IGT test when running on kernels that don't
advertise support for atomic modesetting.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93014
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/kms_atomic.c')
-rw-r--r-- | tests/kms_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c index 2f3080af..6a6cfa7f 100644 --- a/tests/kms_atomic.c +++ b/tests/kms_atomic.c @@ -723,7 +723,7 @@ static void atomic_setup(struct kms_atomic_state *state) desc->fd = drm_open_driver_master(DRIVER_INTEL); igt_assert_fd(desc->fd); - do_or_die(drmSetClientCap(desc->fd, DRM_CLIENT_CAP_ATOMIC, 1)); + igt_skip_on(drmSetClientCap(desc->fd, DRM_CLIENT_CAP_ATOMIC, 1)); res = drmModeGetResources(desc->fd); res_plane = drmModeGetPlaneResources(desc->fd); |