From: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [i-g-t V2 25/79] tests/i915/kms_psr: Document each subtest for testplan
Date: Mon, 15 May 2023 22:13:06 +0530 [thread overview]
Message-ID: <20230515164306.3858327-1-bhanuprakash.modem@intel.com> (raw)
In-Reply-To: <20230515081720.3713293-26-bhanuprakash.modem@intel.com>
Add documentation for all kms tests which is used by IGT testplan
documentation.
V2: - Add missing "Driver requirement" field
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/i915/kms_psr.c | 213 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 212 insertions(+), 1 deletion(-)
diff --git a/tests/i915/kms_psr.c b/tests/i915/kms_psr.c
index 6c89de45d..f0a6360c2 100644
--- a/tests/i915/kms_psr.c
+++ b/tests/i915/kms_psr.c
@@ -23,8 +23,9 @@
*/
/**
- * TEST: Tests behaviour of PSR & PSR2
+ * TEST: kms psr
* Category: Display
+ * Description: Tests behaviour of PSR & PSR2
*/
#include "igt.h"
@@ -36,6 +37,213 @@
#include <string.h>
#include "xe/xe_ioctl.h"
+/**
+ * SUBTEST: basic
+ * Description: Basic check for psr if it is detecting changes made in planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: %s_%s
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on %arg[1]
+ * Driver requirement: i915
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @cursor: Cursor plane
+ * @primary: Primary plane
+ * @sprite: Sprite plane
+ *
+ * arg[2]:
+ *
+ * @mmap_cpu: MMAP CPU
+ * @mmap_gtt: MMAP GTT
+ */
+
+/**
+ * SUBTEST: sprite_plane_move
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on sprite planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: %s_%s
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on %arg[1] planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @cursor: Cursor plane
+ * @sprite: Sprite plane
+ *
+ * arg[2]:
+ *
+ * @blt: Blitter
+ * @render: Render
+ * @plane_onoff: Plane On off
+ */
+
+/**
+ * SUBTEST: primary_%s
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on %arg[1] planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @blt: Blitter
+ * @render: Render
+ */
+
+/**
+ * SUBTEST: dpms
+ * Description: Check if psr is detecting changes when rendering operation is
+ * performed with dpms enabled or disabled
+ * Driver requirement: any
+ * Functionality: dpms, psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: no_drrs
+ * Description: Check if psr is detecting changes when drrs is disabled
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: suspend
+ * Description: Check if psr is detecting changes when plane operation
+ * is performed with suspend resume cycles
+ * Driver requirement: any
+ * Functionality: psr, suspend
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_dpms
+ * Description: Check if psr is detecting changes when rendering operation
+ * is performed with dpms enabled or disabled
+ * Driver requirement: any
+ * Functionality: psr, psr2
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_no_drrs
+ * Description: Check if psr is detecting changes when drrs is disabled
+ * Driver requirement: any
+ * Functionality: psr, psr2
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_suspend
+ * Description: Check if psr is detecting changes when plane operation is
+ * performed with suspend resume cycles
+ * Driver requirement: any
+ * Functionality: psr, psr2
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_basic
+ * Description: Basic check for psr if it is detecting changes made in planes
+ * Driver requirement: any
+ * Functionality: psr, psr2
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_%s_%s
+ * Description: Check if psr2 is detecting memory mapping, rendering and plane
+ * operations performed on %arg[1] planes
+ * Driver requirement: i915
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @cursor: Cursor plane
+ * @primary: Primary plane
+ * @sprite: Sprite plane
+ *
+ * arg[2]:
+ *
+ * @mmap_cpu: MMAP CPU
+ * @mmap_gtt: MMAP GTT
+ */
+
+/**
+ * SUBTEST: psr2_primary_page_flip
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on primary planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * SUBTEST: psr2_primary_%s
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on primary planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @blt: Blitter
+ * @render: Render
+ */
+
+/**
+ * SUBTEST: psr2_%s_%s
+ * Description: Check if psr is detecting memory mapping, rendering and plane
+ * operations performed on %arg[1] planes
+ * Driver requirement: any
+ * Functionality: psr
+ * Mega feature: PSR
+ * Run type: FULL
+ * Test category: functionality test
+ *
+ * arg[1]:
+ *
+ * @cursor: Cursor plane
+ * @sprite: Sprite plane
+ *
+ * arg[2]:
+ *
+ * @blt: Blitter
+ * @render: Render
+ * @plane_onoff: Plane On off
+ * @plane_move: Move plane position
+ */
+
enum operations {
PAGE_FLIP,
MMAP_GTT,
@@ -309,6 +517,7 @@ static void fb_dirty_fb_ioctl(data_t *data, struct igt_fb *fb)
* SUBTEST: cursor_plane_move
* Description: Check if psr is detecting the plane operations performed on
* cursor planes
+ * Driver requirement: any
* Test category: functionality test
* Run type: BAT
* Functionality: psr
@@ -317,6 +526,7 @@ static void fb_dirty_fb_ioctl(data_t *data, struct igt_fb *fb)
* SUBTEST: primary_page_flip
* Description: Check if psr is detecting page-flipping operations performed
* on primary planes
+ * Driver requirement: any
* Test category: functionality test
* Run type: BAT
* Functionality: psr
@@ -325,6 +535,7 @@ static void fb_dirty_fb_ioctl(data_t *data, struct igt_fb *fb)
* SUBTEST: sprite_plane_onoff
* Description: Check if psr is detecting the plane operations performed on
* sprite planes
+ * Driver requirement: any
* Test category: functionality test
* Run type: BAT
* Functionality: psr
--
2.40.0
next prev parent reply other threads:[~2023-05-15 16:48 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 8:16 [igt-dev] [i-g-t 00/79] Document KMS tests Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 01/79] tests/chamelium: Move chamelium helpers to lib Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 02/79] tests/dsc: Move dsc " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 03/79] tests/color: Move color " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 04/79] testplan/kms: Add support to differentiate b/w drivers Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 05/79] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 06/79] tests/chamelium/kms_chamelium_color: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 07/79] tests/chamelium/kms_chamelium_edid: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 08/79] tests/chamelium/kms_chamelium_frames: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 09/79] tests/chamelium/kms_chamelium_hpd: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 10/79] tests/i915/kms_big_fb: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 11/79] tests/i915/kms_big_joiner: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 12/79] tests/i915/kms_busy: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 13/79] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 14/79] tests/i915/kms_cdclk: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 15/79] tests/i915/kms_draw_crc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 16/79] tests/i915/kms_dsc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 17/79] tests/i915/kms_fbcon_fbt: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 18/79] tests/i915/kms_fence_pin_leak: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 19/79] tests/i915/kms_flip_scaled_crc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 20/79] tests/i915/kms_flip_tiling: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 21/79] tests/i915/kms_frontbuffer_tracking: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 22/79] tests/i915/kms_legacy_colorkey: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 23/79] tests/i915/kms_mmap_write_crc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 24/79] tests/i915/kms_pipe_b_c_ivb: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 25/79] tests/i915/kms_psr: " Bhanuprakash Modem
2023-05-15 16:43 ` Bhanuprakash Modem [this message]
2023-05-15 8:16 ` [igt-dev] [i-g-t 26/79] tests/i915/kms_psr2_sf: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 27/79] tests/i915/kms_psr2_su: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 28/79] tests/i915/kms_psr_stress_test: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 29/79] tests/i915/kms_pwrite_crc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 30/79] tests/kms_3d: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 31/79] tests/kms_addfb_basic: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 32/79] tests/kms_async_flips: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 33/79] tests/kms_atomic: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 34/79] tests/kms_atomic_interruptible: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 35/79] tests/kms_atomic_transition: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 36/79] tests/kms_bw: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 37/79] tests/kms_color: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 38/79] tests/kms_concurrent: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 39/79] tests/kms_content_protection: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 40/79] tests/kms_cursor_crc: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 41/79] tests/kms_cursor_edge_walk: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 42/79] tests/kms_cursor_legacy: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 43/79] tests/kms_display_modes: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 44/79] tests/kms_dither: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 45/79] tests/kms_dp_aux_dev: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 46/79] tests/kms_dp_tiled_display: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 47/79] tests/kms_flip: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 48/79] tests/kms_flip_event_leak: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 49/79] tests/kms_force_connector_basic: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 50/79] tests/kms_getfb: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 51/79] tests/kms_hdmi_inject: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 52/79] tests/kms_hdr: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 53/79] tests/kms_invalid_mode: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 54/79] tests/kms_lease: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 55/79] tests/kms_multipipe_modeset: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 56/79] tests/kms_panel_fitting: " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 57/79] tests/kms_pipe_crc_basic: " Bhanuprakash Modem
2023-05-15 16:43 ` [igt-dev] [i-g-t V2 " Bhanuprakash Modem
2023-05-15 8:16 ` [igt-dev] [i-g-t 58/79] tests/kms_plane: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 59/79] tests/kms_plane_alpha_blend: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 60/79] tests/kms_plane_cursor: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 61/79] tests/kms_plane_lowres: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 62/79] tests/kms_plane_multiple: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 63/79] tests/kms_plane_scaling: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 64/79] tests/kms_prime: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 65/79] tests/kms_prop_blob: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 66/79] tests/kms_properties: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 67/79] tests/kms_rmfb: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 68/79] tests/kms_rotation_crc: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 69/79] tests/kms_scaling_modes: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 70/79] tests/kms_selftest: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 71/79] tests/kms_sequence: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 72/79] tests/kms_setmode: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 73/79] tests/kms_sysfs_edid_timing: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 74/79] tests/kms_tv_load_detect: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 75/79] tests/kms_universal_plane: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 76/79] tests/kms_vblank: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 77/79] tests/kms_vrr: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 78/79] tests/kms_writeback: " Bhanuprakash Modem
2023-05-15 8:17 ` [igt-dev] [i-g-t 79/79] testplan/kms: Make documentation is mandatory for all kms subtests Bhanuprakash Modem
2023-05-15 12:17 ` [igt-dev] [i-g-t V2 " Bhanuprakash Modem
2023-05-16 3:53 ` [igt-dev] [i-g-t V3 " Bhanuprakash Modem
2023-05-15 14:58 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev2) Patchwork
2023-05-15 15:29 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-05-15 17:38 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev4) Patchwork
2023-05-15 18:06 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-05-15 19:56 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Document KMS tests (rev5) Patchwork
2023-05-15 23:27 ` [igt-dev] ✓ Fi.CI.IGT: success for Document KMS tests (rev4) Patchwork
2023-05-16 4:10 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev6) Patchwork
2023-05-16 4:41 ` [igt-dev] ✗ Fi.CI.BAT: failure " Patchwork
2023-05-16 6:30 ` [igt-dev] ✗ GitLab.Pipeline: warning for Document KMS tests (rev7) Patchwork
2023-05-16 6:56 ` [igt-dev] ✗ Fi.CI.BAT: 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=20230515164306.3858327-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox