[PATCH 1/2] tests/kms_bw: Use reduced blanking mode 1920x1080p timings

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


From: Rob Clark <robdclark at chromium.org>

The previous timings don't work with the ti-sn65dsi86 bridge that is
used with some of the sc7180 qcom devices in drm/ci.  Let's switch the
timings so that we can get some kms_bw test coverage.

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

diff --git a/tests/kms_bw.c b/tests/kms_bw.c
index dd10d640dc13..f1d2a1b64577 100644
--- a/tests/kms_bw.c
+++ b/tests/kms_bw.c
@@ -64,12 +64,12 @@ typedef struct data {
 } data_t;
 
 static drmModeModeInfo test_mode[] = {
-	{ 173000,
-	1920, 2048, 2248, 2576, 0,
-	1080, 1083, 1088, 1120, 0,
+	{ 147840,
+	1920, 1968, 2000, 2200, 0,
+	1080, 1083, 1089, 1120, 0,
 	60,
-	DRM_MODE_FLAG_NHSYNC,
-	0x40,
+	DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_PHSYNC,
+	0x48,
 	"1920x1080p\0",
 	}, /* test_mode_1 */
 
-- 
2.43.0



More information about the igt-dev mailing list