[PATCH i-g-t 2/2] kms_psr_sink_crc: Add basic check for PSR active.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It takes from 2 to 5 seconds to run.

Cc: Daniel Vetter <daniel.vetter@xxxxxxxx>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
---
 tests/kms_psr_sink_crc.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index 28ba5c2..4baf131 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -605,6 +605,11 @@ int main(int argc, char *argv[])
 		}
 	}
 
+	igt_subtest("psr_active_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;
-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux