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 1/1] tests/kms_plane: Restricting number of pixel formats for simulation
Date: Wed, 14 Feb 2024 10:17:32 +0530	[thread overview]
Message-ID: <20240214044732.24186-2-pranay.samala@intel.com> (raw)
In-Reply-To: <20240214044732.24186-1-pranay.samala@intel.com>

Signed-off-by: Samala, Pranay <pranay.samala@intel.com>
---
 tests/intel-pre-si-ci/blocklist/display.blocklist | 1 -
 tests/kms_plane.c                                 | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/intel-pre-si-ci/blocklist/display.blocklist b/tests/intel-pre-si-ci/blocklist/display.blocklist
index 6dcf1be6e..5f5476227 100644
--- a/tests/intel-pre-si-ci/blocklist/display.blocklist
+++ b/tests/intel-pre-si-ci/blocklist/display.blocklist
@@ -190,7 +190,6 @@ igt@kms_display_modes@mst-extended-mode-negative
 ##########################################
 # VLK-49643 : Temp blocklist (incompletes)
 ##########################################
-igt@kms_plane@pixel-format
 igt@kms_plane@pixel-format-source-clamping
 igt@kms_plane_alpha_blend@alpha-basic
 igt@kms_plane_lowres@tiling-none
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 406aecc04..2e91eb3b5 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1080,6 +1080,9 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 		if (f.format == ref.format &&
 		    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) {
-- 
2.34.1


  reply	other threads:[~2024-02-14  4:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14  4:47 [PATCH 0/1] tests/kms_plane: Reducing the execution time in simulation Samala, Pranay
2024-02-14  4:47 ` Samala, Pranay [this message]
2024-02-14  4:52 ` ✗ Fi.CI.BUILD: failure for " 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=20240214044732.24186-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