Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/3] tests/kms_feature_discovery: update display-1x
Date: Thu, 23 Nov 2023 10:58:06 +0530	[thread overview]
Message-ID: <20231123052807.157210-2-swati2.sharma@intel.com> (raw)
In-Reply-To: <20231123052807.157210-1-swati2.sharma@intel.com>

Use same logic to detect 1x display as 2x, 3x and 4x displays.

Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
 tests/kms_feature_discovery.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tests/kms_feature_discovery.c b/tests/kms_feature_discovery.c
index 81064aa0e..1b192b0bd 100644
--- a/tests/kms_feature_discovery.c
+++ b/tests/kms_feature_discovery.c
@@ -72,7 +72,7 @@
  * Mega feature: General Display Features
  * Test category: functionality test
  *
- * arg[1].values: 2, 3, 4
+ * arg[1].values: 1, 2, 3, 4
  */
 
 #include "igt.h"
@@ -137,6 +137,11 @@ igt_main {
 				}
 			}
 
+			igt_describe("Make sure that we can use at least 1 output at a time.");
+			igt_subtest("display-1x") {
+				igt_require(output_count >= 1);
+			}
+
 			igt_describe("Make sure that we can use at least 2 outputs at the same time.");
 			igt_subtest("display-2x") {
 				igt_require(output_count >= 2);
-- 
2.25.1

  reply	other threads:[~2023-11-23  5:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23  5:28 [igt-dev] [PATCH i-g-t 1/3] tests/kms_feature_discovery: Fix display subtest Swati Sharma
2023-11-23  5:28 ` Swati Sharma [this message]
2023-11-23  5:28 ` [igt-dev] [PATCH i-g-t 3/3] [HAX] tests/intel-ci: add test to ffb Swati Sharma
2023-11-23  8:31   ` Kamil Konieczny
2023-11-23  6:06 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_feature_discovery: Fix display subtest Patchwork
2023-11-23  6:12 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-23  8:28 ` [igt-dev] [PATCH i-g-t 1/3] " Kamil Konieczny
2023-11-24 15:42 ` [igt-dev] ✗ Fi.CI.IGT: failure for series starting with [i-g-t,1/3] " 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=20231123052807.157210-2-swati2.sharma@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.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