[igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED
Abhinav Kumar
quic_abhinavk at quicinc.com
Tue Aug 8 16:57:21 UTC 2023
On 8/8/2023 7:53 AM, 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>
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
Tested-by: Abhinav Kumar <quic_abhinavk at quicinc.com> # sc7280
> ---
> 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