Skip to contentSkip to conversation

tests/kms_3d: Reduce the number of expected stereo 3D modes

PATCH New [email protected] 1 participant 1 message May 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_3d: Reduce the number of expected stereo 3D modes

From: Ville Syrjälä <[email protected]>

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ä <[email protected]>
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

---
 tests/kms_3d.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/kms_3d.c +1 -1
index fdc05b1..76f0b25 100644
@@ -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");
Signature · 6 lines
2.0.5

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx