[igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Aug 8 15:18:32 UTC 2023


I somehow thought I had given r-b for this patch too..but here it is for 
the record

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

On 8.8.2023 17.53, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
> 
> We don't know how to generate valid compressed/UBWC data in igt, so
> don't try.
> 
> Signed-off-by: Rob Clark <robdclark at chromium.org>
> ---
>   tests/kms_plane.c | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/tests/kms_plane.c b/tests/kms_plane.c
> index a444cdca23e2..8e7dc75d349c 100644
> --- a/tests/kms_plane.c
> +++ b/tests/kms_plane.c
> @@ -1011,6 +1011,11 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
>   		    f.modifier != DRM_FORMAT_MOD_LINEAR)
>   			continue;
>   
> +		/* igt doesn't know how to sw generate UBWC: */
> +		if (is_msm_device(data->drm_fd) &&
> +		    f.modifier == DRM_FORMAT_MOD_QCOM_COMPRESSED)
> +			continue;
> +
>   		if (f.format == ref.format &&
>   		    f.modifier == ref.modifier)
>   			continue;



More information about the igt-dev mailing list