[PATCH 2/2] tests/kms_bw: Add 2160x1440p mode

Rob Clark robdclark at gmail.com
Fri Jan 5 21:36:03 UTC 2024


From: Rob Clark <robdclark at chromium.org>

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

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

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index f1d2a1b64577..425dd067e243 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -91,6 +91,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



More information about the igt-dev mailing list