[Intel-gfx] [PATCH i-g-t] tests/kms_3d: Reduce the number of expected stereo 3D modes

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri May 8 09:42:17 PDT 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

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ä <ville.syrjala at linux.intel.com>
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ä <ville.syrjala at linux.intel.com>
---
 tests/kms_3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_3d.c b/tests/kms_3d.c
index fdc05b1..76f0b25 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");
-- 
2.0.5



More information about the Intel-gfx mailing list