[igt-dev] [PATCH i-g-t v2] tests/kms_vblank:Added subtest description

Modem, Bhanuprakash bhanuprakash.modem at intel.com
Thu Feb 11 14:12:40 UTC 2021


> -----Original Message-----
> From: Arundhati Hagaragi <arundhati.hagaragi at intel.com>
> Sent: Thursday, February 4, 2021 12:45 AM
> To: igt-dev at lists.freedesktop.org
> Cc: Hagaragi, Arundhati <arundhati.hagaragi at intel.com>; Modem; Modem,
> Bhanuprakash <bhanuprakash.modem at intel.com>
> Subject: [PATCH i-g-t v2] tests/kms_vblank:Added subtest description
> 
> Added description for all subtests
> 
> Signed-off-by: Arundhati Hagaragi <arundhati.hagaragi at intel.com>
> Cc: Modem, Bhanuprakash <Bhanuprakash.Modem at intel.com>
> 
> v2: Modified description to be more specific. (Bhanu)
LGTM
Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> ---
>  tests/kms_vblank.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
> index 31b3f0a6..e561e41d 100644
> --- a/tests/kms_vblank.c
> +++ b/tests/kms_vblank.c
> @@ -438,6 +438,7 @@ static void run_subtests_for_pipe(data_t *data)
>  			if (m->flags & ~(f->valid | NOHANG))
>  				continue;
> 
> +			igt_describe("Check if test run while hanging by
> introducing NOHANG flag");
>  			igt_subtest_f("pipe-%s-%s-%s",
>  				      kmstest_pipe_name(data->pipe),
>  				      f->name, m->name) {
> @@ -451,6 +452,7 @@ static void run_subtests_for_pipe(data_t *data)
>  			if (f->valid & NOHANG || m->flags & NOHANG)
>  				continue;
> 
> +			igt_describe("check if injected hang is working
> properly");
>  			igt_subtest_f("pipe-%s-%s-%s-hang",
>  				      kmstest_pipe_name(data->pipe),
>  				      f->name, m->name) {
> @@ -521,9 +523,11 @@ igt_main
>  		igt_display_require_output(&data.display);
>  	}
> 
> +	igt_describe("Negative test for vblank request");
>  	igt_subtest("invalid")
>  		invalid_subtest(&data, fd);
> 
> +	igt_describe("check the Vblank and flip events works with given crtc
> id");
>  	igt_subtest("crtc-id")
>  		crtc_id_subtest(&data, fd);
> 
> --
> 2.25.1



More information about the igt-dev mailing list