[igt-dev] [PATCH i-g-t 10/10] igt/tests: Add support for Tile4(TileF) format to kms_rotation_crc

Lisovskiy, Stanislav stanislav.lisovskiy at intel.com
Fri Feb 25 08:43:19 UTC 2022


On Fri, Feb 25, 2022 at 10:38:53AM +0530, Jeevan B wrote:
> Adding subtest to test new tiling format.
> 
> Signed-off-by: Jeevan B <jeevan.b at intel.com>

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy at intel.com>

> ---
>  tests/kms_rotation_crc.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
> index 3f716002..50869a08 100644
> --- a/tests/kms_rotation_crc.c
> +++ b/tests/kms_rotation_crc.c
> @@ -983,6 +983,8 @@ static const char *modifier_test_str(uint64_t modifier)
>  		return "y-tiled";
>  	case I915_FORMAT_MOD_Yf_TILED:
>  		return "yf-tiled";
> +	case I915_FORMAT_MOD_4_TILED:
> +		return "4-tiled";
>  	default:
>  		igt_assert(0);
>  	}
> @@ -1041,6 +1043,8 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
>  		{ I915_FORMAT_MOD_Yf_TILED, IGT_ROTATION_90 },
>  		{ I915_FORMAT_MOD_Yf_TILED, IGT_ROTATION_180 },
>  		{ I915_FORMAT_MOD_Yf_TILED, IGT_ROTATION_270 },
> +		{ I915_FORMAT_MOD_4_TILED, IGT_ROTATION_0 },
> +		{ I915_FORMAT_MOD_4_TILED, IGT_ROTATION_180 },
>  		{ 0, 0 }
>  	};
>  
> -- 
> 2.17.1
> 


More information about the igt-dev mailing list