[igt-dev] [PATCH] tests/kms_concurrent: Replace fb modifier to DRM_FORMAT_MOD_LINEAR

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Tue Aug 3 14:24:06 UTC 2021


On 07/12, Mark Yacoub wrote:
> From: Mark Yacoub <markyacoub at google.com>
> 
> [Why]
> LOCAL_I915_FORMAT_MOD_X_TILED is unique to intel SoCs and is not
> supported on any other device.
> 
> [How]
> Replace LOCAL_I915_FORMAT_MOD_X_TILED by DRM_FORMAT_MOD_LINEAR which is
> supported on all other devices.
> 
> Tested on ChromeOS Trogdor[msm]
> 
> Signed-off-by: Mark Yacoub <markyacoub at chromium.org>
> ---
>  tests/kms_concurrent.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
> index c3f29ec7..abe2ab75 100644
> --- a/tests/kms_concurrent.c
> +++ b/tests/kms_concurrent.c
> @@ -187,8 +187,7 @@ prepare_planes(data_t *data, enum pipe pipe, int max_planes,
>  	/* primary plane */
>  	data->plane[primary->index] = primary;
>  	create_fb_for_mode_position(data, mode, x, y, size, size,
> -				    LOCAL_I915_FORMAT_MOD_X_TILED,
> -				    max_planes, output);
> +		DRM_FORMAT_MOD_LINEAR, max_planes, output);
>  
>  	igt_plane_set_fb(data->plane[primary->index], &data->fb[primary->index]);

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>
  
> -- 
> 2.32.0.93.g670b81a890-goog
> 

-- 
Rodrigo Siqueira
https://siqueira.tech


More information about the igt-dev mailing list