[igt-dev] [PATCH i-g-t] tests/kms_async_flips: Skip the Y<->X tile test on pre-skl

Juha-Pekka Heikkilä juhapekka.heikkila at gmail.com
Thu Jan 21 21:38:05 UTC 2021


Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>

Ville Syrjala kirjoitti 11.1.2021 klo 18.16:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Pre-skl display engine does not support Y-tiling so the
> addfb will fail. Skip the test on such platforms.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>   tests/kms_async_flips.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
> index dea23cf9ef15..e397a54b874f 100644
> --- a/tests/kms_async_flips.c
> +++ b/tests/kms_async_flips.c
> @@ -335,6 +335,9 @@ static void test_invalid(data_t *data)
>   	width = data->connector->modes[0].hdisplay;
>   	height = data->connector->modes[0].vdisplay;
>   
> +	igt_require(igt_display_has_format_mod(&data->display, DRM_FORMAT_XRGB8888,
> +					       LOCAL_I915_FORMAT_MOD_Y_TILED));
> +
>   	igt_create_fb(data->drm_fd, width, height, DRM_FORMAT_XRGB8888,
>   		      LOCAL_I915_FORMAT_MOD_Y_TILED, &fb);
>   
> 


More information about the igt-dev mailing list