From f75ec0b452cbebc0375c1bf75f06e0dc8432cd7c Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Thu, 22 May 2014 16:27:44 +0200 Subject: tests/kms_pipe_crc_basic: Add suspend tests Currently broken ... Signed-off-by: Daniel Vetter --- tests/kms_pipe_crc_basic.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/kms_pipe_crc_basic.c') diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c index 282c7f68..eedb3f39 100644 --- a/tests/kms_pipe_crc_basic.c +++ b/tests/kms_pipe_crc_basic.c @@ -30,6 +30,7 @@ #include "drmtest.h" #include "igt_debugfs.h" #include "igt_kms.h" +#include "igt_aux.h" typedef struct { int drm_fd; @@ -160,6 +161,12 @@ igt_main igt_subtest_f("read-crc-pipe-%c-frame-sequence", 'A'+i) test_read_crc(&data, i, TEST_SEQUENCE); + + igt_subtest_f("suspend-read-crc-pipe-%c", 'A'+i) { + igt_system_suspend_autoresume(); + + test_read_crc(&data, i, 0); + } } igt_fixture { -- cgit v1.2.3