[PATCH i-g-t v2 2/2] tests/kms_bw: Add 2160x1440p mode
Rob Clark
robdclark at gmail.com
Thu Feb 15 22:19:00 UTC 2024
From: Rob Clark <robdclark at 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 at chromium.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
---
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
More information about the igt-dev
mailing list