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>
This commit is contained in:
Tomeu Vizoso
2016-02-24 10:47:09 +01:00
committed by Daniel Stone
parent 17a5d7168d
commit f4718c2b6c
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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);