public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/5] kms_frontbuffer_tracking: Increase the time we wait for PSR.
@ 2015-12-03 16:39 Rodrigo Vivi
  2015-12-03 16:39 ` [PATCH i-g-t 2/5] kms_frontbuffer_tracking: Make sink crc mandatory only " Rodrigo Vivi
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Rodrigo Vivi @ 2015-12-03 16:39 UTC (permalink / raw)
  To: intel-gfx; +Cc: Rodrigo Vivi

With commit (drm/i915: Delay first PSR activation.) in kernel
PSR might take a bit longer to really activate after the modeset.
The first PSR activation after modeset is taking 5 times the panel
power cycle delay time, which is 600ms for our machines here.
So timeout here needs to be a minimum of 3s. However let's use
5s as the safe value in case we find machines with higher power
cycle delay.

Since we do a lot of assert(psr_disabled), this commit is increasing
the time it takes to run the whole set of PSR tests by a few minutes,
which had been reduced by commit f4db3b18841
("kms_frontbuffer_tracking: reduce the PSR wait timeout to 2s").

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
 tests/kms_frontbuffer_tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c
index 4734f25..c729cee 100644
--- a/tests/kms_frontbuffer_tracking.c
+++ b/tests/kms_frontbuffer_tracking.c
@@ -851,7 +851,7 @@ static bool fbc_wait_until_enabled(void)
 
 static bool psr_wait_until_enabled(void)
 {
-	return igt_wait(psr_is_enabled(), 2000, 1);
+	return igt_wait(psr_is_enabled(), 5000, 1);
 }
 
 #define fbc_enable() igt_set_module_param_int("enable_fbc", 1)
-- 
2.4.3

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

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

end of thread, other threads:[~2015-12-03 22:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 16:39 [PATCH i-g-t 1/5] kms_frontbuffer_tracking: Increase the time we wait for PSR Rodrigo Vivi
2015-12-03 16:39 ` [PATCH i-g-t 2/5] kms_frontbuffer_tracking: Make sink crc mandatory only " Rodrigo Vivi
2015-12-03 17:00   ` Paulo Zanoni
2015-12-03 16:39 ` [PATCH i-g-t 3/5] kms_frontbuffer_tracking: Skip on unreliable CRC Rodrigo Vivi
2015-12-03 17:05   ` Paulo Zanoni
2015-12-03 19:44     ` Vivi, Rodrigo
2015-12-03 19:59       ` Paulo Zanoni
2015-12-03 22:32         ` Vivi, Rodrigo
2015-12-03 16:39 ` [PATCH i-g-t 4/5] kms_psr_sink_crc: Fix no-psr option Rodrigo Vivi
2015-12-03 16:39 ` [PATCH i-g-t 5/5] kms_psr_sink_crc: Add suspend/resume sub test Rodrigo Vivi
2015-12-02 15:49   ` [PATCH i-g-t] " Rodrigo Vivi

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