[igt-dev] [V5 i-g-t 52/81] tests/kms_hdmi_inject: Document each subtest for testplan

Sharma, Swati2 swati2.sharma at intel.com
Wed Aug 9 05:18:14 UTC 2023


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

On 29-Jun-23 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/kms_hdmi_inject.c | 25 +++++++++++++++++++++++++
>   1 file changed, 25 insertions(+)
> 
> diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c
> index 9aa5c59fc..436f34a8c 100644
> --- a/tests/kms_hdmi_inject.c
> +++ b/tests/kms_hdmi_inject.c
> @@ -30,6 +30,31 @@
>   #include "igt_edid.h"
>   #include "igt_eld.h"
>   #include "xe/xe_query.h"
> +/**
> + * TEST: kms hdmi inject
> + * Category: Display
> + * Description: Test that in-kernel EDID parsing is producing expected results
> + *              by forcing a HDMI connector with a known EDID and checking that
> + *              the metadata exposed to user space matches.
> + *
> + * SUBTEST: inject-4k
> + * Description: Make sure that 4K modes exposed by DRM match the forced EDID and
> + *              modesetting using it succeed.
> + * Driver requirement: any
> + * Functionality: force_connector
> + * Mega feature: HDMI
> + * Run type: FULL
> + * Test category: functionality test
> + *
> + * SUBTEST: inject-audio
> + * Description: Make sure that audio information exposed by ALSA match the forced
> + *              EDID.
> + * Driver requirement: any
> + * Functionality: force_connector
> + * Mega feature: Disply Audio
> + * Run type: FULL
> + * Test category: functionality test
> + */
>   
>   #define HDISPLAY_4K	3840
>   #define VDISPLAY_4K	2160


More information about the igt-dev mailing list