diff mbox

[i-g-t,1/2] tests/kms_force_connector: clear forced edid in reset

Message ID 1447165926-9637-1-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Nov. 10, 2015, 2:32 p.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 tests/kms_force_connector.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox

Patch

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);