diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2016-02-24 10:47:09 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2016-04-14 13:54:24 +0100 |
commit | f4718c2b6c264c1825cde5213f61965e78c19c9d (patch) | |
tree | 746e5af5ae47f9a086d39e42850ed5ac0149858a /tests/kms_atomic.c | |
parent | 17a5d7168d4a4e5cdce6afa7ca125c4e60ebfb3f (diff) | |
download | platform_external_igt-gpu-tools-f4718c2b6c264c1825cde5213f61965e78c19c9d.tar.gz platform_external_igt-gpu-tools-f4718c2b6c264c1825cde5213f61965e78c19c9d.tar.bz2 platform_external_igt-gpu-tools-f4718c2b6c264c1825cde5213f61965e78c19c9d.zip |
tests: Open any driver
For those tests that now pass on drivers other than i915, call
drm_open_driver_master with DRIVER_ANY.
Also do so from igt_enable_connectors.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 6a6cfa7f..13a5db1b 100644 --- a/tests/kms_atomic.c +++ b/tests/kms_atomic.c @@ -720,7 +720,7 @@ static void atomic_setup(struct kms_atomic_state *state) drmModePlaneResPtr res_plane; int i; - desc->fd = drm_open_driver_master(DRIVER_INTEL); + desc->fd = drm_open_driver_master(DRIVER_ANY); igt_assert_fd(desc->fd); igt_skip_on(drmSetClientCap(desc->fd, DRM_CLIENT_CAP_ATOMIC, 1)); |