[igt-dev] [i-g-t V6 37/81] tests/kms_bw: Document each subtest for testplan

Sharma, Swati2 swati2.sharma at intel.com
Mon Aug 14 05:39:31 UTC 2023


LGTM
Reviewed-by: Swati Sharma <swati2.sharma at intel.com>

On 12-Aug-23 12:16 AM, Bhanuprakash Modem wrote:
> Add documentation for all kms tests which is used by IGT testplan
> documentation.
> 
> V2: - Fix the functionality
> 
> Cc: Swati Sharma <swati2.sharma at intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> ---
>   tests/kms_bw.c | 21 +++++++++++++++++++++
>   1 file changed, 21 insertions(+)
> 
> diff --git a/tests/kms_bw.c b/tests/kms_bw.c
> index b66473e60..cfc0e193b 100644
> --- a/tests/kms_bw.c
> +++ b/tests/kms_bw.c
> @@ -25,6 +25,27 @@
>   #include "drm.h"
>   #include <stdio.h>
>   #include <xf86drmMode.h>
> +/**
> + * TEST: kms bw
> + * Category: Display
> + * Description: BW test with different resolutions
> + *
> + * SUBTEST: linear-tiling-%d-displays-%s
> + * Description: bw test with %arg[2]
> + * Driver requirement: any
> + * Functionality: kms_core
> + * Mega feature: General Display Features
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1].values: 1, 2, 3, 4, 5, 6, 7, 8
> + *
> + * arg[2]:
> + *
> + * @1920x1080p:       1920x1080 resolution
> + * @2560x1440p:       2560x1440 resolution
> + * @3840x2160p:       3840x2160 resolution
> + */
>   
>   /* Common test data. */
>   typedef struct data {


More information about the igt-dev mailing list