[Intel-gfx] [PATCH i-g-t 1/2] tests/kms_force_connector: clear forced edid in reset
Thomas Wood
thomas.wood at intel.com
Tue Nov 10 06:32:05 PST 2015
Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
tests/kms_force_connector.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c
index f34f21a..a79c974 100644
--- a/tests/kms_force_connector.c
+++ b/tests/kms_force_connector.c
@@ -47,6 +47,8 @@ static void __attribute__((noreturn)) reset_connectors()
kmstest_force_connector(drm_fd, connector,
FORCE_CONNECTOR_UNSPECIFIED);
+ kmstest_force_edid(drm_fd, connector, NULL, 0);
+
drmModeFreeConnector(connector);
}
@@ -76,7 +78,7 @@ int main(int argc, char **argv)
{0, 0, 0, 0}
};
const char *help_str =
- " --reset\t\tReset all connector force states.\n";
+ " --reset\t\tReset all connector force states and edid.\n";
igt_subtest_init_parse_opts(&argc, argv, "", long_opts, help_str,
opt_handler, NULL);
--
1.9.1
More information about the Intel-gfx
mailing list