mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
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>
This commit is contained in:
parent
cd8da3f65d
commit
78a97fe157
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user