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

Arkadiusz Hiler arkadiusz.hiler at intel.com
Thu Jul 25 12:35:45 UTC 2019


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>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at 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 aed3bee3..6117dfe0 100644
--- a/tests/kms_3d.c
+++ b/tests/kms_3d.c
@@ -46,8 +46,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.21.0



More information about the igt-dev mailing list