[igt-dev] [PATCH i-g-t 3/4] tests/kms_3d: Accept any HDMI connector

Ville Syrjala ville.syrjala at linux.intel.com
Wed Nov 7 17:39:24 UTC 2018


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Connector forcing works just fine even if it already has
something physically connected. So accept any HDMI connector
for the test.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_3d.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index 5aeb5dd11e6b..949c4c8acbf6 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -47,8 +47,7 @@ igt_simple_main
 
 		connector = drmModeGetConnectorCurrent(drm_fd, res->connectors[i]);
 
-		if (connector->connector_type == DRM_MODE_CONNECTOR_HDMIA &&
-		    connector->connection == DRM_MODE_DISCONNECTED)
+		if (connector->connector_type == DRM_MODE_CONNECTOR_HDMIA)
 			break;
 
 		drmModeFreeConnector(connector);
-- 
2.18.1



More information about the igt-dev mailing list