summaryrefslogtreecommitdiff
path: root/tests/kms_pipe_crc_basic.c
diff options
context:
space:
mode:
authorNidhi Gupta <nidhi1.gupta@intel.com>2021-04-12 10:01:23 +0530
committerKunal Joshi <kunal1.joshi@intel.com>2021-04-19 10:34:40 +0530
commit161b31f1bfabd8dff88de26774f7ce0fa5318ec4 (patch)
tree97efc21276cb11aa15ae87bcbbf0bc9ae6539af7 /tests/kms_pipe_crc_basic.c
parent14317b92a672d9a20cd04fc3b0c80e2fb12d51d5 (diff)
Added test description for kms tests
Added description for following tests: tests/kms_atomic.c tests/kms_concurrent.c tests/kms_content_protection.c tests/kms_fbcon_fbt.c tests/kms_getfb.c tests/kms_lease.c tests/kms_panel_fitting.c tests/kms_pipe_b_c_ivb.c tests/kms_plane_lowres.c tests/kms_plane_scaling.c tests/kms_prop_blob.c tests/kms_rmfb.c tests/kms_sequence.c tests/kms_vrr.c tests/kms_pipe_crc_basic.c tests/kms_plane_alpha_blend.c tests/kms_draw_crc.c tests/kms_tv_load_detect.c tests/kms_busy.c tests/kms_force_connector_basic.c tests/kms_setmode.c Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com> Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
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 db047c4c..67d68ebe 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -282,22 +282,28 @@ igt_main
data.debugfs = igt_debugfs_dir(data.drm_fd);
}
+ igt_describe("Tests error handling when the bad source is set.");
igt_subtest("bad-source")
test_bad_source(&data);
for_each_pipe_static(pipe) {
+ igt_describe("Test for pipe CRC reads.");
igt_subtest_f("read-crc-pipe-%s", kmstest_pipe_name(pipe))
test_read_crc(&data, pipe, 0);
+ igt_describe("Tests the pipe CRC read and ensure frame sequence.");
igt_subtest_f("read-crc-pipe-%s-frame-sequence", kmstest_pipe_name(pipe))
test_read_crc(&data, pipe, TEST_SEQUENCE);
+ igt_describe("Test for O_NONBLOCK CRC reads.");
igt_subtest_f("nonblocking-crc-pipe-%s", kmstest_pipe_name(pipe))
test_read_crc(&data, pipe, TEST_NONBLOCK);
+ igt_describe("Test for O_NONBLOCK CRC reads and ensure frame sequence.");
igt_subtest_f("nonblocking-crc-pipe-%s-frame-sequence", kmstest_pipe_name(pipe))
test_read_crc(&data, pipe, TEST_SEQUENCE | TEST_NONBLOCK);
+ igt_describe("Suspend test for pipe CRC reads");
igt_subtest_f("suspend-read-crc-pipe-%s", kmstest_pipe_name(pipe)) {
test_read_crc(&data, pipe, 0);
@@ -312,6 +318,7 @@ igt_main
igt_subtest_f("disable-crc-after-crtc-pipe-%s", kmstest_pipe_name(pipe))
test_disable_crc_after_crtc(&data, pipe);
+ igt_describe("Hang test for pipe CRC read");
igt_subtest_f("hang-read-crc-pipe-%s", kmstest_pipe_name(pipe)) {
igt_hang_t hang = igt_allow_hang(data.drm_fd, 0, 0);