From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [i-g-t V3 49/82] tests/kms_flip: Document each subtest for testplan
Date: Tue, 23 May 2023 12:02:10 +0530 [thread overview]
Message-ID: <20230523063243.669540-50-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230523063243.669540-1-bhanuprakash.modem@intel.com>
Add documentation for all kms tests which is used by IGT testplan
documentation.
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/kms_flip.c | 178 ++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 176 insertions(+), 2 deletions(-)
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index f1e0700c1..e5a4406b9 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -22,8 +22,9 @@
*/
/**
- * TEST: Tests for validating modeset, dpms and pageflips
+ * TEST: kms flip
* Category: Display
+ * Description: Tests for validating modeset, dpms and pageflips
*/
#include "config.h"
@@ -39,6 +40,169 @@
#include <sys/poll.h>
#include <sys/time.h>
#include <sys/ioctl.h>
+/**
+ * SUBTEST: 2x-flip-vs-fences
+ * Description: Test for validating modeset, dpms and pageflips with a pair of connected displays
+ * Driver requirement: i915
+ * Functionality: gtt, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: 2x-flip-vs-fences-interruptible
+ * Description: Interrupt test for validating modeset, dpms and pageflips with pair of connected displays
+ * Driver requirement: any
+ * Functionality: gtt, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: flip-vs-fences
+ * Description: Basic test for validating modeset, dpms and pageflips
+ * Driver requirement: i915
+ * Functionality: gtt, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: flip-vs-fences-interruptible
+ * Description: Interrupt test for validating modeset, dpms and pageflips
+ * Driver requirement: i915
+ * Functionality: gtt, vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
+
+/**
+ * SUBTEST: %s
+ * Description: Basic test for validating modeset, dpms and pageflips
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @dpms-off-confusion:
+ * @bo-too-big:
+ */
+
+/**
+ * SUBTEST: %s
+ * Description: Basic test for validating modeset, dpms and pageflips
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: 2x-%s
+ * Description: Test for validating modeset, dpms and pageflips with a pair of
+ * connected displays
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @wf_vblank-ts-check:
+ * @blocking-wf_vblank:
+ * @absolute-wf_vblank:
+ * @blocking-absolute-wf_vblank:
+ * @busy-flip:
+ * @plain-flip-ts-check:
+ * @plain-flip-fb-recreate:
+ * @flip-vs-rmfb:
+ * @flip-vs-panning:
+ * @flip-vs-expired-vblank:
+ * @flip-vs-absolute-wf_vblank:
+ * @flip-vs-blocking-wf-vblank:
+ * @flip-vs-modeset-vs-hang:
+ * @flip-vs-panning-vs-hang:
+ * @flip-vs-dpms-off-vs-modeset:
+ * @single-buffer-flip-vs-dpms-off-vs-modeset:
+ * @nonexisting-fb:
+ * @dpms-vs-vblank-race:
+ * @modeset-vs-vblank-race:
+ * @flip-vs-suspend:
+ */
+
+/**
+ * SUBTEST: 2x-%s
+ * Description: Test for validating modeset, dpms and pageflips with a pair of
+ * connected displays
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @plain-flip:
+ * @flip-vs-dpms:
+ * @flip-vs-modeset:
+ * @flip-vs-wf_vblank:
+ */
+
+/**
+ * SUBTEST: %s-interruptible
+ * Description: Basic test for validating modeset, dpms and pageflips
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @dpms-off-confusion:
+ * @bo-too-big:
+ */
+
+/**
+ * SUBTEST: %s-interruptible
+ * Description: Basic test for validating modeset, dpms and pageflips
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: 2x-%s-interruptible
+ * Description: Test for validating modeset, dpms and pageflips with a pair of
+ * connected displays
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @wf_vblank-ts-check:
+ * @absolute-wf_vblank:
+ * @blocking-absolute-wf_vblank:
+ * @plain-flip:
+ * @plain-flip-ts-check:
+ * @plain-flip-fb-recreate:
+ * @flip-vs-rmfb:
+ * @flip-vs-panning:
+ * @flip-vs-expired-vblank:
+ * @flip-vs-absolute-wf_vblank:
+ * @flip-vs-wf_vblank:
+ * @flip-vs-dpms-off-vs-modeset:
+ * @single-buffer-flip-vs-dpms-off-vs-modeset:
+ * @nonexisting-fb:
+ * @dpms-vs-vblank-race:
+ * @modeset-vs-vblank-race:
+ * @flip-vs-suspend:
+ */
+
#ifdef HAVE_LINUX_KD_H
#include <linux/kd.h>
#elif HAVE_SYS_KD_H
@@ -1564,6 +1728,7 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
/**
* SUBTEST: basic-flip-vs-%s
* Description: Basic test to valide %arg[1]
+ * Driver requirement: any
* Test category: functionality test
* Run type: BAT
* Functionality: vblank
@@ -1577,12 +1742,12 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
*
* SUBTEST: basic-plain-flip
* Description: Basic test for validating page flip
+ * Driver requirement: any
* Test category: functionality test
* Run type: BAT
* Functionality: vblank
* Mega feature: General Display Features
*/
-
static void run_test(int duration, int flags)
{
struct test_output o;
@@ -1759,6 +1924,15 @@ static void kms_flip_exit_handler(int sig)
kmstest_set_connector_dpms(drm_fd, last_connector, DRM_MODE_DPMS_ON);
}
+/**
+ * SUBTEST: nonblocking-read
+ * Description: Tests that nonblocking reading fails correctly
+ * Driver requirement: any
+ * Functionality: vblank
+ * Mega feature: General Display Features
+ * Run type: FULL
+ * Test category: functionality test
+ */
static void test_nonblocking_read(int in)
{
char buffer[1024];
--
2.40.0
next prev parent reply other threads:[~2023-05-23 6:39 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-23 6:31 [igt-dev] [i-g-t V3 00/82] Document KMS tests Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 01/82] tests/chamelium: Move chamelium helpers to lib Bhanuprakash Modem
2023-05-23 6:50 ` Mauro Carvalho Chehab
2023-05-23 16:04 ` Kamil Konieczny
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 02/82] tests/dsc: Move dsc " Bhanuprakash Modem
2023-05-23 6:51 ` Mauro Carvalho Chehab
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 03/82] tests/color: Move color " Bhanuprakash Modem
2023-05-23 6:51 ` Mauro Carvalho Chehab
2023-05-23 16:00 ` Kamil Konieczny
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 04/82] testplan/kms: Include testdisplay to kms testplan config Bhanuprakash Modem
2023-05-23 6:45 ` Mauro Carvalho Chehab
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 05/82] testplan/kms: Add support to differentiate b/w drivers Bhanuprakash Modem
2023-05-23 6:45 ` Mauro Carvalho Chehab
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 06/82] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 07/82] tests/chamelium/kms_chamelium_color: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 08/82] tests/chamelium/kms_chamelium_edid: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 09/82] tests/chamelium/kms_chamelium_frames: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 10/82] tests/chamelium/kms_chamelium_hpd: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 11/82] tests/i915/kms_big_fb: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 12/82] tests/i915/kms_big_joiner: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 13/82] tests/i915/kms_busy: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 14/82] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 15/82] tests/i915/kms_cdclk: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 16/82] tests/i915/kms_draw_crc: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 17/82] tests/i915/kms_dsc: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 18/82] tests/i915/kms_fb_coherency: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 19/82] tests/i915/kms_fbcon_fbt: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 20/82] tests/i915/kms_fence_pin_leak: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 21/82] tests/i915/kms_flip_scaled_crc: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 22/82] tests/i915/kms_flip_tiling: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 23/82] tests/i915/kms_frontbuffer_tracking: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 24/82] tests/i915/kms_legacy_colorkey: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 25/82] tests/i915/kms_mmap_write_crc: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 26/82] tests/i915/kms_pipe_b_c_ivb: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 27/82] tests/i915/kms_psr: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 28/82] tests/i915/kms_psr2_sf: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 29/82] tests/i915/kms_psr2_su: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 30/82] tests/i915/kms_psr_stress_test: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 31/82] tests/i915/kms_pwrite_crc: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 32/82] tests/kms_3d: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 33/82] tests/kms_addfb_basic: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 34/82] tests/kms_async_flips: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 35/82] tests/kms_atomic: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 36/82] tests/kms_atomic_interruptible: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 37/82] tests/kms_atomic_transition: " Bhanuprakash Modem
2023-05-23 6:31 ` [igt-dev] [i-g-t V3 38/82] tests/kms_bw: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 39/82] tests/kms_color: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 40/82] tests/kms_concurrent: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 41/82] tests/kms_content_protection: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 42/82] tests/kms_cursor_crc: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 43/82] tests/kms_cursor_edge_walk: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 44/82] tests/kms_cursor_legacy: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 45/82] tests/kms_display_modes: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 46/82] tests/kms_dither: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 47/82] tests/kms_dp_aux_dev: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 48/82] tests/kms_dp_tiled_display: " Bhanuprakash Modem
2023-05-23 6:32 ` Bhanuprakash Modem [this message]
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 50/82] tests/kms_flip_event_leak: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 51/82] tests/kms_force_connector_basic: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 52/82] tests/kms_getfb: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 53/82] tests/kms_hdmi_inject: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 54/82] tests/kms_hdr: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 55/82] tests/kms_invalid_mode: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 56/82] tests/kms_lease: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 57/82] tests/kms_multipipe_modeset: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 58/82] tests/kms_panel_fitting: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 59/82] tests/kms_pipe_crc_basic: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 60/82] tests/kms_plane: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 61/82] tests/kms_plane_alpha_blend: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 62/82] tests/kms_plane_cursor: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 63/82] tests/kms_plane_lowres: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 64/82] tests/kms_plane_multiple: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 65/82] tests/kms_plane_scaling: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 66/82] tests/kms_prime: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 67/82] tests/kms_prop_blob: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 68/82] tests/kms_properties: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 69/82] tests/kms_rmfb: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 70/82] tests/kms_rotation_crc: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 71/82] tests/kms_scaling_modes: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 72/82] tests/kms_selftest: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 73/82] tests/kms_sequence: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 74/82] tests/kms_setmode: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 75/82] tests/kms_sysfs_edid_timing: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 76/82] tests/kms_tv_load_detect: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 77/82] tests/kms_universal_plane: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 78/82] tests/kms_vblank: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 79/82] tests/kms_vrr: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 80/82] tests/kms_writeback: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 81/82] tests/testdisplay: " Bhanuprakash Modem
2023-05-23 6:32 ` [igt-dev] [i-g-t V3 82/82] testplan/kms: Make documentation is mandatory for all kms subtests Bhanuprakash Modem
2023-05-23 6:44 ` Mauro Carvalho Chehab
2023-05-23 7:08 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev10) Patchwork
2023-05-23 7:27 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-05-23 9:30 ` [igt-dev] ✗ Fi.CI.IGT: failure " 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=20230523063243.669540-50-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.