[igt-dev] [v2 1/9] tests/i915/kms_dsc: add new test flag

Nautiyal, Ankit K ankit.k.nautiyal at intel.com
Mon Jul 24 05:08:40 UTC 2023


On 7/4/2023 11:00 PM, Swati Sharma wrote:
> Add new test flag TEST_DSC_FORMAT.

I understand, this flag is added to differentiate the basic dsc test and 
the tests where we want to change different plane pixel formats.

Lets capture this in the commit message too.

With that change this is:

Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal at intel.com>

>
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
> ---
>   tests/i915/kms_dsc.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/i915/kms_dsc.c b/tests/i915/kms_dsc.c
> index 0a3e29924..23ccbca00 100644
> --- a/tests/i915/kms_dsc.c
> +++ b/tests/i915/kms_dsc.c
> @@ -37,6 +37,7 @@ IGT_TEST_DESCRIPTION("Test to validate display stream compression");
>   enum dsc_test_type {
>   	TEST_DSC_BASIC,
>   	TEST_DSC_BPC,
> +	TEST_DSC_FORMAT,
>   	TEST_DSC_OUTPUT_FORMAT,
>   };
>   
> @@ -302,7 +303,7 @@ igt_main_args("l", NULL, help_str, opt_handler, &data)
>   		     "with default parameters and creating fb with diff formats");
>   	igt_subtest_with_dynamic("dsc-with-formats") {
>   		for (int k = 0; k < ARRAY_SIZE(format_list); k++)
> -			test_dsc(&data, TEST_DSC_BASIC, 0,
> +			test_dsc(&data, TEST_DSC_FORMAT, 0,
>   				 format_list[k], DSC_FORMAT_RGB);
>   	}
>   


More information about the igt-dev mailing list