public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms: increase max threshold time for edid read
@ 2017-08-04 18:23 clinton.a.taylor
  2017-08-07 16:20 ` Daniel Vetter
                   ` (4 more replies)
  0 siblings, 5 replies; 28+ messages in thread
From: clinton.a.taylor @ 2017-08-04 18:23 UTC (permalink / raw)
  To: intel-gfx

From: Clint Taylor <clinton.a.taylor@intel.com>

Current 50ms max threshold timing for an EDID read is very close to the
actual time for a 2 block HDMI EDID read of 48ms. Any delay like a clock
stretch by the EDID eeprom will cause this test to fail. A 4 block HDMI
EDID read takes approximately 88ms under nominal conditions, making the max
threshold 95ms will allow this test to pass regardless of monitor attached.

Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
---
 tests/kms_sysfs_edid_timing.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/kms_sysfs_edid_timing.c b/tests/kms_sysfs_edid_timing.c
index 1201388..b45e080 100644
--- a/tests/kms_sysfs_edid_timing.c
+++ b/tests/kms_sysfs_edid_timing.c
@@ -27,14 +27,14 @@
 #include <sys/stat.h>
 
 #define THRESHOLD_PER_CONNECTOR	10
-#define THRESHOLD_TOTAL		50
+#define THRESHOLD_TOTAL		95
 #define CHECK_TIMES		15
 
 IGT_TEST_DESCRIPTION("This check the time we take to read the content of all "
 		     "the possible connectors. Without the edid -ENXIO patch "
 		     "(http://permalink.gmane.org/gmane.comp.video.dri.devel/62083), "
-		     "we sometimes take a *really* long time. "
-		     "So let's just check for some reasonable timing here");
+		     "we sometimes take a *really* long time. So let's just "
+		     "check an approximate HDMI 4 block edid read timing here");
 
 
 igt_simple_main
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-10-09  7:05 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-04 18:23 [PATCH i-g-t] tests/kms: increase max threshold time for edid read clinton.a.taylor
2017-08-07 16:20 ` Daniel Vetter
2017-08-09 22:04   ` [PATCH v2 " clinton.a.taylor
2017-08-09 22:51   ` [PATCH v3 " clinton.a.taylor
2017-08-10  6:40     ` Lofstedt, Marta
2017-08-10  7:00     ` Lofstedt, Marta
2017-08-10 16:29       ` Clint Taylor
2017-08-10 17:50       ` [PATCH v4 " clinton.a.taylor
2017-08-11  7:49         ` Lofstedt, Marta
2017-08-11 16:36           ` Clint Taylor
2017-08-14  5:47             ` Lofstedt, Marta
2017-08-14  8:43             ` Jani Nikula
2017-08-14 14:36               ` Daniel Vetter
2017-08-14 15:30                 ` Jani Nikula
2017-08-14 15:36                   ` Daniel Vetter
2017-08-14 16:05                     ` Jani Nikula
2017-08-14 14:40         ` Daniel Vetter
2017-08-14 17:21           ` Clint Taylor
2017-08-15  7:58             ` Daniel Vetter
2017-08-15 18:04               ` Clint Taylor
2017-08-18  7:59                 ` Daniel Vetter
2017-10-09  7:05                   ` Lofstedt, Marta
2017-08-09 23:21   ` [PATCH " Chris Wilson
2017-08-08  7:51 ` Lofstedt, Marta
2017-08-09  0:15   ` Clint Taylor
2017-08-09 22:29 ` ✓ Fi.CI.BAT: success for tests/kms: increase max threshold time for edid read (rev2) Patchwork
2017-08-09 23:15 ` ✓ Fi.CI.BAT: success for tests/kms: increase max threshold time for edid read (rev3) Patchwork
2017-08-11 12:18 ` ✓ Fi.CI.BAT: success for tests/kms: increase max threshold time for edid read (rev5) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox