[igt-dev] [V5, i-g-t, 28/81] tests/i915/kms_psr2_su: Document each subtest for testplan

Joshi, Kunal1 kunal1.joshi at intel.com
Thu Aug 10 06:42:24 UTC 2023


On 6/29/2023 8:18 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/i915/kms_psr2_su.c | 27 +++++++++++++++++++++++++++
>   1 file changed, 27 insertions(+)
>
> diff --git a/tests/i915/kms_psr2_su.c b/tests/i915/kms_psr2_su.c
> index 3081887ca..6da283643 100644
> --- a/tests/i915/kms_psr2_su.c
> +++ b/tests/i915/kms_psr2_su.c
> @@ -30,6 +30,33 @@
>   #include <stdio.h>
>   #include <string.h>
>   #include <sys/timerfd.h>
> +/**
> + * TEST: kms psr2 su
> + * Category: Display
> + * Description: Test PSR2 selective update
> + *
> + * SUBTEST: frontbuffer-XRGB8888
> + * Description: Test that selective update works when screen changes
> + * Driver requirement: any
> + * Functionality: psr2
> + * Mega feature: PSR
> + * Run type: FULL
> + * Test category: functionality test
Here we can have FBT also as functionality
Also we need to add selective update as a functionality
Apart from that
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
> + *
> + * SUBTEST: page_flip-%s
> + * Description: Test the selective update with %arg[1] when screen changes
> + * Driver requirement: any
> + * Functionality: psr2
> + * Mega feature: PSR
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * arg[1]:
> + *
> + * @NV12:        NV12 format
> + * @P010:        P010 format
> + * @XRGB8888:    XRGB8888 format
> + */
>   
>   IGT_TEST_DESCRIPTION("Test PSR2 selective update");
>   


More information about the igt-dev mailing list