diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2015-12-08 00:11:21 -0800 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2015-12-09 07:23:50 -0800 |
commit | 4aa1b99a121a6cb843f463af64cbd92942f809e0 (patch) | |
tree | a7d50c028afb7a2f03222f0f250564bb37f12abb /tests/kms_psr_sink_crc.c | |
parent | 4a004d9cb36ff845aebb8590b8bb08c460620a72 (diff) |
kms_psr_sink_crc: Add BAT test for PSR active.
It takes from 2 to 5 seconds to run.
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tests/kms_psr_sink_crc.c')
-rw-r--r-- | tests/kms_psr_sink_crc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c index 8cd11a7f..5fad9b52 100644 --- a/tests/kms_psr_sink_crc.c +++ b/tests/kms_psr_sink_crc.c @@ -569,6 +569,11 @@ int main(int argc, char *argv[]) display_init(&data); } + igt_subtest("psr_basic") { + setup_test_plane(&data); + igt_assert(wait_psr_entry(&data)); + } + for (op = PAGE_FLIP; op <= RENDER; op++) { igt_subtest_f("primary_%s", op_str(op)) { data.test_plane = PRIMARY; |