[Intel-gfx] [PATCH i-g-t 5/5] tests/chamelium: Also test VGA for common suspend and hibernate tests
Paul Kocialkowski
paul.kocialkowski at linux.intel.com
Mon Jun 26 07:22:19 UTC 2017
Now that HPD toggle during suspend and hibernate can be tested for VGA
as well, there is no need to exclude it in the common tests.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski at linux.intel.com>
---
tests/chamelium.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/tests/chamelium.c b/tests/chamelium.c
index 07dc4849..b7eaa2fa 100644
--- a/tests/chamelium.c
+++ b/tests/chamelium.c
@@ -232,9 +232,6 @@ try_suspend_resume_hpd(data_t *data, struct chamelium_port *port,
} else {
for (p = 0; p < data->port_count; p++) {
port = data->ports[p];
- if (chamelium_port_get_type(port) == DRM_MODE_CONNECTOR_VGA)
- continue;
-
chamelium_schedule_hpd_toggle(data->chamelium, port,
SUSPEND_RESUME_DELAY * 1000 / 2,
!connected);
@@ -252,9 +249,6 @@ try_suspend_resume_hpd(data_t *data, struct chamelium_port *port,
} else {
for (p = 0; p < data->port_count; p++) {
port = data->ports[p];
- if (chamelium_port_get_type(port) == DRM_MODE_CONNECTOR_VGA)
- continue;
-
igt_assert_eq(reprobe_connector(data, port), connected ?
DRM_MODE_DISCONNECTED :
DRM_MODE_CONNECTED);
@@ -292,9 +286,6 @@ test_suspend_resume_hpd_common(data_t *data, enum igt_suspend_state state,
for (p = 0; p < data->port_count; p++) {
port = data->ports[p];
- if (chamelium_port_get_type(port) == DRM_MODE_CONNECTOR_VGA)
- continue;
-
igt_debug("Testing port %s\n", chamelium_port_get_name(port));
}
--
2.13.1
More information about the Intel-gfx
mailing list