Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Samala, Pranay" <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, jeevan.b@intel.com,
	pranay.samala@intel.com, Samala@freedesktop.org
Subject: [PATCH v2 1/1] tests/kms_plane: Restricting number of pixel formats for simulation
Date: Wed, 14 Feb 2024 14:23:28 +0530	[thread overview]
Message-ID: <20240214085328.2024-2-pranay.samala@intel.com> (raw)
In-Reply-To: <20240214085328.2024-1-pranay.samala@intel.com>

The pixel-format subtest runs on all pixel formats, reducing it to single
format to reduce execution time on simulation.

Cc: B S, Karthik <karthik.b.s@intel.com>
Cc: B, Jeevan <jeevan.b@intel.com>

Signed-off-by: Samala, Pranay <pranay.samala@intel.com>
---
 tests/kms_plane.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 406aecc04..fbffc3cb0 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1081,6 +1081,9 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 		    f.modifier == ref.modifier)
 			continue;
 
+		if (f.format != DRM_FORMAT_XRGB8888 && igt_run_in_simulation())
+			continue;
+
 		/* test each format "class" only once in non-extended tests */
 		if (!data->extended && f.modifier != DRM_FORMAT_MOD_LINEAR) {
 			struct format_mod rf = {
-- 
2.34.1


  reply	other threads:[~2024-02-14  8:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14  8:53 [PATCH v2 0/1] tests/kms_plane: Reducing the execution time in simulation Samala, Pranay
2024-02-14  8:53 ` Samala, Pranay [this message]
2024-02-14 10:14   ` [PATCH v2 1/1] tests/kms_plane: Restricting number of pixel formats for simulation B, Jeevan
2024-02-14 12:12   ` Juha-Pekka Heikkila
2024-02-14 13:07   ` Kamil Konieczny
2024-02-14 13:27   ` Kamil Konieczny
2024-02-14  9:50 ` ✓ CI.xeBAT: success for tests/kms_plane: Reducing the execution time in simulation (rev2) Patchwork
2024-02-14  9:55 ` ✓ Fi.CI.BAT: " Patchwork
2024-02-14 12:44 ` ✓ Fi.CI.IGT: " Patchwork

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=20240214085328.2024-2-pranay.samala@intel.com \
    --to=pranay.samala@intel.com \
    --cc=Samala@freedesktop.org \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.com \
    --cc=karthik.b.s@intel.com \
    /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