From 0d16473df4ed29c9836b03090c78debfb9a7e3e6 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Fri, 8 May 2015 17:46:21 +0300 Subject: tests/kms_3d: Reduce the number of expected stereo 3D modes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently the test expects to find 15 stereo 3D modes, however the number of stereo modes we get from the current kernel EDID parser is actually 13. The extra two modes we had previously were GTF modes, which are no longer getting added by the kernel since we have corresponding CEA/DMT modes available. So having the GTF modes in the list was not actually intentional. The kernel commit that change the behaviour: commit bfcd74d2aeda25a78f7cc92f80650218b1bce0ca Author: Ville Syrjälä Date: Thu Apr 2 17:02:11 2015 +0300 drm/edid: Add DMT modes with ID > 0x50 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90368 Signed-off-by: Ville Syrjälä --- tests/kms_3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_3d.c') diff --git a/tests/kms_3d.c b/tests/kms_3d.c index fdc05b1f..76f0b25e 100644 --- a/tests/kms_3d.c +++ b/tests/kms_3d.c @@ -74,7 +74,7 @@ igt_simple_main mode_count++; } - igt_assert(mode_count == 15); + igt_assert(mode_count == 13); /* set 3D modes */ igt_info("Testing:\n"); -- cgit v1.2.3