Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Clark <robdclark@gmail.com>
To: igt-dev@lists.freedesktop.org
Cc: Rob Clark <robdclark@chromium.org>
Subject: [igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED
Date: Mon,  7 Aug 2023 13:12:45 -0700	[thread overview]
Message-ID: <20230807201245.214280-2-robdclark@gmail.com> (raw)
In-Reply-To: <20230807201245.214280-1-robdclark@gmail.com>

From: Rob Clark <robdclark@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@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;
-- 
2.41.0

  reply	other threads:[~2023-08-07 20:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-07 20:12 [igt-dev] [PATCH 1/2] tests/kms_plane: Handle hw without legacy gamma support Rob Clark
2023-08-07 20:12 ` Rob Clark [this message]
2023-08-08  0:52 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [1/2] " Patchwork
2023-08-08  0:55 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-08-08  7:18 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-08-08  7:51 ` [igt-dev] [PATCH 1/2] " Juha-Pekka Heikkila
  -- strict thread matches above, loose matches on Subject: below --
2023-08-08 14:53 Rob Clark
2023-08-08 14:53 ` [igt-dev] [PATCH 2/2] tests/kms_plane: Skip QCOM_COMPRESSED Rob Clark
2023-08-08 15:18   ` Juha-Pekka Heikkila
2023-08-08 16:57   ` Abhinav Kumar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230807201245.214280-2-robdclark@gmail.com \
    --to=robdclark@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=robdclark@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox