summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2016-02-24 10:47:09 +0100
committerDaniel Stone <daniels@collabora.com>2016-04-14 13:54:24 +0100
commitf4718c2b6c264c1825cde5213f61965e78c19c9d (patch)
tree746e5af5ae47f9a086d39e42850ed5ac0149858a /lib
parent17a5d7168d4a4e5cdce6afa7ca125c4e60ebfb3f (diff)
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 'lib')
-rw-r--r--lib/igt_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 22939618..8f30c940 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -2490,7 +2490,7 @@ void igt_enable_connectors(void)
drmModeConnector *c;
int drm_fd;
- drm_fd = drm_open_driver(DRIVER_INTEL);
+ drm_fd = drm_open_driver(DRIVER_ANY);
res = drmModeGetResources(drm_fd);