All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/chamelium: Let the Chamelium itself wait for a stable video input
@ 2017-08-28 14:55 Paul Kocialkowski
  2017-08-28 15:18 ` ✗ Fi.CI.BAT: warning for " Patchwork
  2017-08-29 12:08 ` [PATCH i-g-t] " Paul Kocialkowski
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Kocialkowski @ 2017-08-28 14:55 UTC (permalink / raw)
  To: intel-gfx

Before capturing video, the Chamelium will always wait for the video
input to be stable (and perform the FSM if it was not). This means that
there is no need to explicitly do it beforehand.

When the receiver needs to be reset, the call will result in a timeout,
after which the follow-up call to capture the video will perform the FSM
that resets it. Skipping the explicit wait for video input stable allows
the Chamelium to perform the FSM directly, which saves valuable time.

Removing the associated call does not negatively impact the execution of
the CRC and frame comparison tests either.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@linux.intel.com>
---
 tests/chamelium.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tests/chamelium.c b/tests/chamelium.c
index 484bb537..e3d81357 100644
--- a/tests/chamelium.c
+++ b/tests/chamelium.c
@@ -474,9 +474,6 @@ enable_output(data_t *data,
 	if (chamelium_port_get_type(port) == DRM_MODE_CONNECTOR_VGA)
 		usleep(250000);
 
-	chamelium_port_wait_video_input_stable(data->chamelium, port,
-					       HOTPLUG_TIMEOUT);
-
 	drmModeFreeConnector(connector);
 }
 
-- 
2.14.0

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

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

end of thread, other threads:[~2017-08-30 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-28 14:55 [PATCH i-g-t] tests/chamelium: Let the Chamelium itself wait for a stable video input Paul Kocialkowski
2017-08-28 15:18 ` ✗ Fi.CI.BAT: warning for " Patchwork
2017-08-29 12:08 ` [PATCH i-g-t] " Paul Kocialkowski
2017-08-30 10:24   ` Paul Kocialkowski
2017-08-30 18:47     ` Lyude Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.