[Intel-gfx] [PATCH I-G-T 2/2] igt/kms_pipe_crc_basic: Skip test before system suspend
Gabriel Krisman Bertazi
krisman at collabora.co.uk
Tue Jun 20 04:11:28 UTC 2017
Do a dummy crc read such that if there are no valid outputs for the
pipe, it skip the test before doing a system suspend.
Signed-off-by: Gabriel Krisman Bertazi <krisman at collabora.co.uk>
---
tests/kms_pipe_crc_basic.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 177211249808..35adddba648a 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -222,6 +222,9 @@ igt_main
igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) {
igt_skip_on(i >= data.display.n_pipes);
+
+ test_read_crc(&data, i, 0);
+
igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
SUSPEND_TEST_NONE);
--
2.11.0
More information about the Intel-gfx
mailing list