From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [i-g-t V8 77/81] tests/kms_vblank: Document each subtest for testplan
Date: Wed, 16 Aug 2023 18:07:12 +0530 [thread overview]
Message-ID: <20230816123712.366294-1-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230815164815.320904-78-bhanuprakash.modem@intel.com>
Add documentation for all kms tests which is used by IGT testplan
documentation.
V2: - Fix test documentation
V3: - Driver requirement: s/any/i915, xe/
V4: - Fix test documentation
Cc: Karthik B S <karthik.b.s@intel.com>
Cc: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/kms_vblank.c | 160 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 160 insertions(+)
diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
index 1aa8c1083..0cc21bb5f 100644
--- a/tests/kms_vblank.c
+++ b/tests/kms_vblank.c
@@ -40,6 +40,166 @@
#include <sys/wait.h>
#include <drm.h>
+/**
+ * TEST: kms vblank
+ * Category: Display
+ * Description: Test speed of WaitVblank.
+ *
+ * SUBTEST: crtc-id
+ * Description: check the Vblank and flip events works with given crtc id
+ * Driver requirement: i915, xe
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: invalid
+ * Description: Negative test for vblank request
+ * Driver requirement: i915, xe
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
+
+/**
+ * SUBTEST: pipe-%s-ts-continuation-dpms-rpm
+ * Description: Test TS continuty with DPMS & RPM while hanging by introducing
+ * NOHANG flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: dpms, hang, rpm, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @A: pipe A
+ * @B: pipe B
+ * @C: pipe C
+ * @D: pipe D
+ * @E: pipe E
+ * @F: pipe F
+ * @G: pipe G
+ * @H: pipe H
+ */
+
+/**
+ * SUBTEST: pipe-%s-ts-continuation-dpms-suspend
+ * Description: Test TS continuty with DPMS & Suspend while hanging by introducing
+ * NOHANG flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: dpms, hang, suspend, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @A: pipe A
+ * @B: pipe B
+ * @C: pipe C
+ * @D: pipe D
+ * @E: pipe E
+ * @F: pipe F
+ * @G: pipe G
+ * @H: pipe H
+ */
+
+/**
+ * SUBTEST: pipe-%s-ts-continuation-suspend
+ * Description: Test TS continuty with Suspend while hanging by introducing NOHANG
+ * flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: hang, suspend, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @A: pipe A
+ * @B: pipe B
+ * @C: pipe C
+ * @D: pipe D
+ * @E: pipe E
+ * @F: pipe F
+ * @G: pipe G
+ * @H: pipe H
+ */
+
+/**
+ * SUBTEST: pipe-%s-ts-continuation-modeset-rpm
+ * Description: Test TS continuty during Modeset with Suspend while hanging by
+ * introducing NOHANG flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: hang, rpm, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @A: pipe A
+ * @B: pipe B
+ * @C: pipe C
+ * @D: pipe D
+ * @E: pipe E
+ * @F: pipe F
+ * @G: pipe G
+ * @H: pipe H
+ */
+
+/**
+ * SUBTEST: pipe-%s-accuracy-idle
+ * Description: Test Accuracy of vblank events while hanging by introducing NOHANG
+ * flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: hang, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: pipe-%s-%s
+ * Description: Test %arg[2] while hanging by introducing NOHANG flag on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: hang, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: pipe-%s-%s-hang
+ * Description: Test %arg[2] with injected hang is working properly on %arg[1]
+ * Driver requirement: i915, xe
+ * Functionality: hang, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @A: pipe A
+ * @B: pipe B
+ * @C: pipe C
+ * @D: pipe D
+ * @E: pipe E
+ * @F: pipe F
+ * @G: pipe G
+ * @H: pipe H
+ *
+ * arg[2]:
+ *
+ * @query-idle: Time taken to Query vblank counters
+ * @query-forked: Time taken to Query vblank counters (multithreaded)
+ * @query-busy: Time taken to Query vblank counters (during V-active)
+ * @query-forked-busy: Time taken to Query vblank counters (during V-active mutithreaded)
+ * @wait-idle: Time taken to wait for vblanks
+ * @wait-forked: Time taken to wait for vblanks (multithreaded)
+ * @wait-busy: Time taken to wait for vblanks (during V-active)
+ * @wait-forked-busy: Time taken to wait for vblanks (during V-active mutithreaded)
+ * @ts-continuation-idle: TS continuty
+ * @ts-continuation-modeset: TS continuty during modeset
+ */
IGT_TEST_DESCRIPTION("Test speed of WaitVblank.");
--
2.40.0
next prev parent reply other threads:[~2023-08-16 12:44 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-15 16:46 [igt-dev] [i-g-t V7 00/81] Document KMS tests Bhanuprakash Modem
2023-08-15 16:46 ` [igt-dev] [i-g-t V7 01/81] testplan/kms: Keep category as high level entity Bhanuprakash Modem
2023-08-15 16:46 ` [igt-dev] [i-g-t V7 02/81] testplan/kms: Add support to differentiate b/w drivers Bhanuprakash Modem
2023-08-15 16:46 ` [igt-dev] [i-g-t V7 03/81] testplan/kms: Include testdisplay to kms testplan config Bhanuprakash Modem
2023-08-15 16:46 ` [igt-dev] [i-g-t V7 04/81] testplan/kms: Exclude kms helpers from testplan Bhanuprakash Modem
2023-08-15 16:46 ` [igt-dev] [i-g-t V7 05/81] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 06/81] tests/chamelium/kms_chamelium_color: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 07/81] tests/chamelium/kms_chamelium_edid: " Bhanuprakash Modem
2023-08-16 10:40 ` [igt-dev] [i-g-t, V7, " Joshi, Kunal1
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 08/81] tests/chamelium/kms_chamelium_frames: " Bhanuprakash Modem
2023-08-16 10:41 ` [igt-dev] [i-g-t, V7, " Joshi, Kunal1
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 09/81] tests/chamelium/kms_chamelium_hpd: " Bhanuprakash Modem
2023-08-16 10:42 ` [igt-dev] [i-g-t, V7, " Joshi, Kunal1
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 10/81] tests/i915/kms_big_fb: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 11/81] tests/i915/kms_big_joiner: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 12/81] tests/i915/kms_busy: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 13/81] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 14/81] tests/i915/kms_cdclk: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 15/81] tests/i915/kms_draw_crc: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 16/81] tests/i915/kms_dsc: " Bhanuprakash Modem
2023-08-16 11:15 ` [igt-dev] [i-g-t V8 " Bhanuprakash Modem
2023-08-16 11:29 ` Sharma, Swati2
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 17/81] tests/i915/kms_fb_coherency: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 18/81] tests/i915/kms_fbcon_fbt: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 19/81] tests/i915/kms_fence_pin_leak: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 20/81] tests/i915/kms_flip_scaled_crc: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 21/81] tests/i915/kms_flip_tiling: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 22/81] tests/i915/kms_frontbuffer_tracking: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 23/81] tests/i915/kms_legacy_colorkey: " Bhanuprakash Modem
2023-08-16 10:31 ` Sharma, Swati2
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 24/81] tests/i915/kms_mmap_write_crc: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 25/81] tests/i915/kms_pipe_b_c_ivb: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 26/81] tests/i915/kms_psr: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 27/81] tests/i915/kms_psr2_sf: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 28/81] tests/i915/kms_psr2_su: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 29/81] tests/i915/kms_psr_stress_test: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 30/81] tests/i915/kms_pwrite_crc: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 31/81] tests/kms_3d: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 32/81] tests/kms_addfb_basic: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 33/81] tests/kms_async_flips: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 34/81] tests/kms_atomic: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 35/81] tests/kms_atomic_interruptible: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 36/81] tests/kms_atomic_transition: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 37/81] tests/kms_bw: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 38/81] tests/kms_color: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 39/81] tests/kms_concurrent: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 40/81] tests/kms_content_protection: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 41/81] tests/kms_cursor_crc: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 42/81] tests/kms_cursor_edge_walk: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 43/81] tests/kms_cursor_legacy: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 44/81] tests/kms_display_modes: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 45/81] tests/kms_dither: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 46/81] tests/kms_dp_aux_dev: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 47/81] tests/kms_flip: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 48/81] tests/kms_flip_event_leak: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 49/81] tests/kms_force_connector_basic: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 50/81] tests/kms_getfb: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 51/81] tests/kms_hdmi_inject: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 52/81] tests/kms_hdr: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 53/81] tests/kms_invalid_mode: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 54/81] tests/kms_lease: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 55/81] tests/kms_multipipe_modeset: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 56/81] tests/kms_panel_fitting: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 57/81] tests/kms_pipe_crc_basic: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 58/81] tests/kms_plane: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 59/81] tests/kms_plane_alpha_blend: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 60/81] tests/kms_plane_cursor: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 61/81] tests/kms_plane_lowres: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 62/81] tests/kms_plane_multiple: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 63/81] tests/kms_plane_scaling: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 64/81] tests/kms_prime: " Bhanuprakash Modem
2023-08-15 16:47 ` [igt-dev] [i-g-t V7 65/81] tests/kms_prop_blob: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 66/81] tests/kms_properties: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 67/81] tests/kms_rmfb: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 68/81] tests/kms_rotation_crc: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 69/81] tests/kms_scaling_modes: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 70/81] tests/kms_selftest: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 71/81] tests/kms_sequence: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 72/81] tests/kms_setmode: " Bhanuprakash Modem
2023-08-16 15:54 ` B, Jeevan
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 73/81] tests/kms_sysfs_edid_timing: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 74/81] tests/kms_tiled_display: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 75/81] tests/kms_tv_load_detect: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 76/81] tests/kms_universal_plane: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 77/81] tests/kms_vblank: " Bhanuprakash Modem
2023-08-16 11:42 ` Sharma, Swati2
2023-08-16 12:37 ` Bhanuprakash Modem [this message]
2023-08-16 13:06 ` [igt-dev] [i-g-t V8 " Sharma, Swati2
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 78/81] tests/kms_vrr: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 79/81] tests/kms_writeback: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 80/81] tests/testdisplay: " Bhanuprakash Modem
2023-08-15 16:48 ` [igt-dev] [i-g-t V7 81/81] testplan/kms: Make documentation is mandatory for all kms subtests Bhanuprakash Modem
2023-08-15 17:43 ` [igt-dev] ○ CI.xeBAT: info for Document KMS tests (rev15) Patchwork
2023-08-15 17:47 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-08-15 19:08 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-16 11:41 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev16) Patchwork
2023-08-16 12:14 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-08-16 13:03 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230816123712.366294-1-bhanuprakash.modem@intel.com \
--to=bhanuprakash.modem@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.