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: [PATCH v2] tests/kms_bw: Add 2160x1440p mode
Date: Mon,  8 Jan 2024 13:50:06 -0800	[thread overview]
Message-ID: <20240108215006.170234-1-robdclark@gmail.com> (raw)
In-Reply-To: <20240105213603.109149-2-robdclark@gmail.com>

From: Rob Clark <robdclark@chromium.org>

Add an additional mode so that we can get more kms_bw coverage on
sc7180.

v2: Add missing comment listing subtest name

Signed-off-by: Rob Clark <robdclark@chromium.org>
---
 tests/kms_bw.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index f1d2a1b64577..96b19199d4d6 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -47,6 +47,7 @@
  * @1920x1080p:       1920x1080 resolution
  * @2560x1440p:       2560x1440 resolution
  * @3840x2160p:       3840x2160 resolution
+ * @2160x1440p:       2160x1440 resolution
  */
 
 /* Common test data. */
@@ -91,6 +92,15 @@ static drmModeModeInfo test_mode[] = {
 	"3840x2160p\0",
 	}, /* test_mode_3 */
 
+	{ 207800,
+	2160, 2208, 2240, 2340, 0,
+	1440, 1443, 1449, 1480, 0,
+	60,
+	DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_PHSYNC,
+	0x48,
+	"2160x1440p\0",
+	}, /* test_mode_4 */
+
 };
 
 static void test_init(data_t *data)
-- 
2.43.0

  reply	other threads:[~2024-01-08 21:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-05 21:36 [PATCH 1/2] tests/kms_bw: Use reduced blanking mode 1920x1080p timings Rob Clark
2024-01-05 21:36 ` [PATCH 2/2] tests/kms_bw: Add 2160x1440p mode Rob Clark
2024-01-08 21:50   ` Rob Clark [this message]
2024-01-10 20:39     ` [PATCH v2] " Abhinav Kumar
2024-01-10 20:39       ` Abhinav Kumar
2024-01-05 21:52 ` ✗ Fi.CI.BUILD: failure for series starting with [1/2] tests/kms_bw: Use reduced blanking mode 1920x1080p timings Patchwork
2024-01-05 21:57 ` ✗ GitLab.Pipeline: warning " Patchwork
2024-01-09  0:19 ` ✓ Fi.CI.BAT: success for series starting with [1/2] tests/kms_bw: Use reduced blanking mode 1920x1080p timings (rev2) Patchwork
2024-01-09  0:25 ` ✗ CI.xeBAT: failure " Patchwork
2024-01-09 11:16 ` ✓ Fi.CI.IGT: success " 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=20240108215006.170234-1-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