From: Karthik B S <karthik.b.s@intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
<igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [i-g-t V6 10/81] tests/i915/kms_big_fb: Document each subtest for testplan
Date: Mon, 14 Aug 2023 09:37:33 +0530 [thread overview]
Message-ID: <8e9df293-38b5-b199-c7c6-04d00bcdb0dd@intel.com> (raw)
In-Reply-To: <20230811184655.157060-11-bhanuprakash.modem@intel.com>
On 8/12/2023 12:15 AM, Bhanuprakash Modem wrote:
> Add documentation for all kms tests which is used by IGT testplan
> documentation.
>
> V2: - Fix driver requirement
> V3: - Fix functionality
>
> Cc: Karthik B S <karthik.b.s@intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> tests/i915/kms_big_fb.c | 183 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 183 insertions(+)
>
> diff --git a/tests/i915/kms_big_fb.c b/tests/i915/kms_big_fb.c
> index 44ea117a1..a0067aa9c 100644
> --- a/tests/i915/kms_big_fb.c
> +++ b/tests/i915/kms_big_fb.c
> @@ -21,6 +21,12 @@
> * IN THE SOFTWARE.
> */
>
> +/**
> + * TEST: kms big fb
> + * Category: Display
> + * Description: Test big framebuffers
> + */
> +
> #include "igt.h"
> #include <errno.h>
> #include <stdbool.h>
> @@ -582,6 +588,105 @@ max_hw_stride_async_flip_test(data_t *data)
> return true;
> }
>
> +/**
> + * SUBTEST: linear-%dbpp-rotate-%d
> + * Description: Sanity check if addfb ioctl works correctly for given combination
> + * of Linear modifier with %arg[1]-bpp & %arg[2]-rotation
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, rotation
Do we have 'big_displays' being used in any other tests? If not,
could/should it be 'big_fbs' rather than 'big_displays'?
If you agree, then please update this while merging.
Eithercase this is not a blocker and the patch LGTM overall.
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1].values: 8, 16, 32, 64
> + * arg[2].values: 0, 90, 180, 270
> + */
> +
> +/**
> + * SUBTEST: %s-%dbpp-rotate-%d
> + * Description: Sanity check if addfb ioctl works correctly for given combination
> + * of %arg[1] with %arg[2]-bpp & %arg[3]-rotation
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, rotation, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4 modifier
> + * @x-tiled: TILE-X modifier
> + * @y-tiled: TILE-Y modifier
> + * @yf-tiled: TILE-YF modifier
> + *
> + * arg[2].values: 8, 16, 32, 64
> + * arg[3].values: 0, 90, 180, 270
> + */
> +
> +/**
> + * SUBTEST: linear-max-hw-stride-%dbpp-rotate-%d
> + * Description: Test maximum hardware supported stride length for given combination
> + * of linear modifier with max hardware stride length, %arg[1]-bpp,
> + * and %arg[2]-rotation
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, rotation
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1].values: 32, 64
> + * arg[2].values: 0, 180
> + */
> +
> +/**
> + * SUBTEST: %s-max-hw-stride-%dbpp-rotate-%d
> + * Description: Test maximum hardware supported stride length for given combination
> + * of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
> + * and %arg[3]-rotation
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, rotation, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4 modifier
> + * @x-tiled: TILE-X modifier
> + * @y-tiled: TILE-Y modifier
> + * @yf-tiled: TILE-YF modifier
> + *
> + * arg[2].values: 32, 64
> + * arg[3].values: 0, 180
> + */
> +
> +/**
> + * SUBTEST: %s-max-hw-stride-%dbpp-rotate-%d-%s
> + * Description: Test maximum hardware supported stride length for given combination
> + * of %arg[1] modifier with max hardware stride length, %arg[2]-bpp,
> + * and %arg[3]-rotation with %arg[4] mode
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, rotation, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4 modifier
> + * @x-tiled: TILE-X modifier
> + * @y-tiled: TILE-Y modifier
> + * @yf-tiled: TILE-YF modifier
> + *
> + * arg[2].values: 32, 64
> + * arg[3].values: 0, 180
> + *
> + * arg[4]:
> + *
> + * @async-flip: Async flip
> + * @hflip: H-flip
> + * @hflip-async-flip: Async & H-flip
> + */
> static void test_scanout(data_t *data)
> {
> igt_output_t *output;
> @@ -627,6 +732,32 @@ static void test_scanout(data_t *data)
> igt_skip("unsupported configuration\n");
> }
>
> +/**
> + * SUBTEST: linear-addfb-size-overflow
> + * Description: Sanity check if addfb ioctl fails correctly for (Linear) modifier
> + * with small bo.
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * SUBTEST: %s-addfb-size-overflow
> + * Description: Sanity check if addfb ioctl fails correctly for (%arg[1]) modifier
> + * with small bo.
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4
> + * @x-tiled: TILE-X
> + * @y-tiled: TILE-Y
> + * @yf-tiled: TILE-YF
> + */
> static void
> test_size_overflow(data_t *data)
> {
> @@ -671,6 +802,32 @@ test_size_overflow(data_t *data)
> gem_close(data->drm_fd, bo);
> }
>
> +/**
> + * SUBTEST: linear-addfb-size-offset-overflow
> + * Description: Sanity check if addfb ioctl fails correctly for (Linear) modifier
> + * and offsets with small bo
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * SUBTEST: %s-addfb-size-offset-overflow
> + * Description: Sanity check if addfb ioctl fails correctly for (%arg[1]) modifier
> + * and offsets with small bo
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4
> + * @x-tiled: TILE-X
> + * @y-tiled: TILE-Y
> + * @yf-tiled: TILE-YF
> + */
> static void
> test_size_offset_overflow(data_t *data)
> {
> @@ -729,6 +886,32 @@ static int rmfb(int fd, uint32_t id)
> return err;
> }
>
> +/**
> + * SUBTEST: linear-addfb
> + * Description: Sanity check if addfb ioctl works correctly with Linear modifier
> + * for given size and strides of fb
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * SUBTEST: %s-addfb
> + * Description: Sanity check if addfb ioctl works correctly with %arg[1] modifier
> + * for given size and strides of fb
> + * Driver requirement: any
> + * Functionality: big_displays, kms_gem_interop, tiling
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @4-tiled: TILE-4
> + * @x-tiled: TILE-X
> + * @y-tiled: TILE-Y
> + * @yf-tiled: TILE-YF
> + */
> static void
> test_addfb(data_t *data)
> {
next prev parent reply other threads:[~2023-08-14 4:07 UTC|newest]
Thread overview: 119+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-11 18:45 [igt-dev] [i-g-t V6 00/81] Document KMS tests Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 01/81] testplan/kms: Keep category as high level entity Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 02/81] testplan/kms: Add support to differentiate b/w drivers Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 03/81] testplan/kms: Include testdisplay to kms testplan config Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 04/81] testplan/kms: Exclude kms helpers from testplan Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 05/81] tests/chamelium/kms_chamelium_audio: Document each subtest for testplan Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 06/81] tests/chamelium/kms_chamelium_color: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 07/81] tests/chamelium/kms_chamelium_edid: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 08/81] tests/chamelium/kms_chamelium_frames: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 09/81] tests/chamelium/kms_chamelium_hpd: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 10/81] tests/i915/kms_big_fb: " Bhanuprakash Modem
2023-08-14 4:07 ` Karthik B S [this message]
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 11/81] tests/i915/kms_big_joiner: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 12/81] tests/i915/kms_busy: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 13/81] tests/i915/kms_ccs: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 14/81] tests/i915/kms_cdclk: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 15/81] tests/i915/kms_draw_crc: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 16/81] tests/i915/kms_dsc: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 17/81] tests/i915/kms_fb_coherency: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 18/81] tests/i915/kms_fbcon_fbt: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 19/81] tests/i915/kms_fence_pin_leak: " Bhanuprakash Modem
2023-08-14 4:09 ` Karthik B S
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 20/81] tests/i915/kms_flip_scaled_crc: " Bhanuprakash Modem
2023-08-14 7:37 ` Sharma, Swati2
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 21/81] tests/i915/kms_flip_tiling: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 22/81] tests/i915/kms_frontbuffer_tracking: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 23/81] tests/i915/kms_legacy_colorkey: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 24/81] tests/i915/kms_mmap_write_crc: " Bhanuprakash Modem
2023-08-11 18:45 ` [igt-dev] [i-g-t V6 25/81] tests/i915/kms_pipe_b_c_ivb: " Bhanuprakash Modem
2023-08-14 10:39 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 26/81] tests/i915/kms_psr: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 27/81] tests/i915/kms_psr2_sf: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 28/81] tests/i915/kms_psr2_su: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 29/81] tests/i915/kms_psr_stress_test: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 30/81] tests/i915/kms_pwrite_crc: " Bhanuprakash Modem
2023-08-14 4:11 ` Karthik B S
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 31/81] tests/kms_3d: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 32/81] tests/kms_addfb_basic: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 33/81] tests/kms_async_flips: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 34/81] tests/kms_atomic: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 35/81] tests/kms_atomic_interruptible: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 36/81] tests/kms_atomic_transition: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 37/81] tests/kms_bw: " Bhanuprakash Modem
2023-08-14 5:39 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 38/81] tests/kms_color: " Bhanuprakash Modem
2023-08-14 7:40 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 39/81] tests/kms_concurrent: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 40/81] tests/kms_content_protection: " Bhanuprakash Modem
2023-08-14 4:15 ` Karthik B S
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 41/81] tests/kms_cursor_crc: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 42/81] tests/kms_cursor_edge_walk: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 43/81] tests/kms_cursor_legacy: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 44/81] tests/kms_display_modes: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 45/81] tests/kms_dither: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 46/81] tests/kms_dp_aux_dev: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 47/81] tests/kms_flip: " Bhanuprakash Modem
2023-08-14 4:20 ` Karthik B S
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 48/81] tests/kms_flip_event_leak: " Bhanuprakash Modem
2023-08-14 4:42 ` Karthik B S
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 49/81] tests/kms_force_connector_basic: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 50/81] tests/kms_getfb: " Bhanuprakash Modem
2023-08-14 4:51 ` Karthik B S
2023-08-14 7:05 ` Modem, Bhanuprakash
2023-08-14 7:19 ` Karthik B S
2023-08-14 7:38 ` Modem, Bhanuprakash
2023-08-14 7:42 ` Karthik B S
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 51/81] tests/kms_hdmi_inject: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 52/81] tests/kms_hdr: " Bhanuprakash Modem
2023-08-14 8:20 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 53/81] tests/kms_invalid_mode: " Bhanuprakash Modem
2023-08-14 6:26 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 54/81] tests/kms_lease: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 55/81] tests/kms_multipipe_modeset: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 56/81] tests/kms_panel_fitting: " Bhanuprakash Modem
2023-08-14 6:29 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 57/81] tests/kms_pipe_crc_basic: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 58/81] tests/kms_plane: " Bhanuprakash Modem
2023-08-14 7:57 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 59/81] tests/kms_plane_alpha_blend: " Bhanuprakash Modem
2023-08-14 10:20 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 60/81] tests/kms_plane_cursor: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 61/81] tests/kms_plane_lowres: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 62/81] tests/kms_plane_multiple: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 63/81] tests/kms_plane_scaling: " Bhanuprakash Modem
2023-08-14 7:23 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 64/81] tests/kms_prime: " Bhanuprakash Modem
2023-08-14 8:23 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 65/81] tests/kms_prop_blob: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 66/81] tests/kms_properties: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 67/81] tests/kms_rmfb: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 68/81] tests/kms_rotation_crc: " Bhanuprakash Modem
2023-08-14 10:26 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 69/81] tests/kms_scaling_modes: " Bhanuprakash Modem
2023-08-14 7:25 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 70/81] tests/kms_selftest: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 71/81] tests/kms_sequence: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 72/81] tests/kms_setmode: " Bhanuprakash Modem
2023-08-14 5:06 ` Karthik B S
2023-08-14 5:45 ` B, Jeevan
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 73/81] tests/kms_sysfs_edid_timing: " Bhanuprakash Modem
2023-08-14 7:34 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 74/81] tests/kms_tiled_display: " Bhanuprakash Modem
2023-08-14 8:26 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 75/81] tests/kms_tv_load_detect: " Bhanuprakash Modem
2023-08-14 10:34 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 76/81] tests/kms_universal_plane: " Bhanuprakash Modem
2023-08-16 6:14 ` B, Jeevan
2023-08-16 9:50 ` Modem, Bhanuprakash
2023-08-16 10:01 ` B, Jeevan
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 77/81] tests/kms_vblank: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 78/81] tests/kms_vrr: " Bhanuprakash Modem
2023-08-14 8:28 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 79/81] tests/kms_writeback: " Bhanuprakash Modem
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 80/81] tests/testdisplay: " Bhanuprakash Modem
2023-08-14 8:29 ` Sharma, Swati2
2023-08-11 18:46 ` [igt-dev] [i-g-t V6 81/81] testplan/kms: Make documentation is mandatory for all kms subtests Bhanuprakash Modem
2023-08-11 20:06 ` [igt-dev] ○ CI.xeBAT: info for Document KMS tests (rev14) Patchwork
2023-08-11 20:07 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2023-08-13 2: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=8e9df293-38b5-b199-c7c6-04d00bcdb0dd@intel.com \
--to=karthik.b.s@intel.com \
--cc=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