From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by gabe.freedesktop.org (Postfix) with ESMTPS id E70BA10E11B for ; Mon, 7 Aug 2023 20:12:52 +0000 (UTC) Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1bc8045e09dso298935ad.0 for ; Mon, 07 Aug 2023 13:12:52 -0700 (PDT) From: Rob Clark To: igt-dev@lists.freedesktop.org Date: Mon, 7 Aug 2023 13:12:45 -0700 Message-ID: <20230807201245.214280-2-robdclark@gmail.com> In-Reply-To: <20230807201245.214280-1-robdclark@gmail.com> References: <20230807201245.214280-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Clark Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Rob Clark We don't know how to generate valid compressed/UBWC data in igt, so don't try. Signed-off-by: Rob Clark --- 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; -- 2.41.0