[igt-dev] [V5, i-g-t, 72/81] tests/kms_sequence: Document each subtest for testplan

Gupta, Nidhi1 nidhi1.gupta at intel.com
Wed Aug 9 20:12:09 UTC 2023


LGTM
Reviewed-by: Nidhi Gupta <nidhi1.gupta at intel.com>

On 6/29/2023 8:19 PM, Bhanuprakash Modem wrote:
> Add documentation for all kms tests which is used by IGT testplan
> documentation.
> 
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> ---
>   tests/kms_sequence.c | 36 ++++++++++++++++++++++++++++++++++++
>   1 file changed, 36 insertions(+)
> 
> diff --git a/tests/kms_sequence.c b/tests/kms_sequence.c
> index 1b96f0017..12c3396f5 100644
> --- a/tests/kms_sequence.c
> +++ b/tests/kms_sequence.c
> @@ -27,6 +27,11 @@
>    * This is a test of drmCrtcGetSequence and drmCrtcQueueSequence
>    */
>   
> +/**
> + * TEST: kms sequence
> + * Category: Display
> + * Description: Test CrtcGetSequence and CrtcQueueSequence.
> + */
>   #include "igt.h"
>   #include <stdlib.h>
>   #include <stdio.h>
> @@ -136,6 +141,37 @@ static int crtc_queue_sequence(int fd, struct drm_crtc_queue_sequence *cqs)
>   	return err;
>   }
>   
> +/**
> + * SUBTEST: get-%s
> + * Description: This is a test of drmCrtcGetSequence and drmCrtcQueueSequence
> + * Driver requirement: any
> + * Functionality: vblank
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @busy:
> + * @forked:
> + * @forked-busy:
> + * @idle:
> + */
> +
> +/**
> + * SUBTEST: queue-%s
> + * Description: This is a test of drmCrtcGetSequence and drmCrtcQueueSequence
> + * Driver requirement: any
> + * Functionality: vblank
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @busy:
> + * @idle:
> + */
>   static void run_test(data_t *data, int fd, void (*testfunc)(data_t *, int, int))
>   {
>   	int nchildren =

-- 
~Nidhi Gupta


More information about the igt-dev mailing list