summaryrefslogtreecommitdiff
path: root/tests/kms_pipe_crc_basic.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-22 16:27:44 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-22 16:27:44 +0200
commitf75ec0b452cbebc0375c1bf75f06e0dc8432cd7c (patch)
tree27fa04f48bfef3ed1a9d163d18d1f50627819c48 /tests/kms_pipe_crc_basic.c
parent6fa1934a1991ec30b4f72359cb51d043b374bf43 (diff)
tests/kms_pipe_crc_basic: Add suspend tests
Currently broken ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_pipe_crc_basic.c')
-rw-r--r--tests/kms_pipe_crc_basic.c7
1 files changed, 7 insertions, 0 deletions
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 {