public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/1] igt_chamelium: Increase timeout for CaptureVideo
@ 2019-04-16 16:13 Neel Desai
  2019-04-16 16:13 ` [igt-dev] [PATCH i-g-t 1/1] lib/igt_chamelium: " Neel Desai
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Neel Desai @ 2019-04-16 16:13 UTC (permalink / raw)
  To: igt-dev

For some chamelium boards, we observed that the chamelium_rpc()
call with method_name as CaptureVideo timed out because the display
resolution read by the FPGA using the VideoDumper did not match the
resolution in the RX chip. The resolution read by the FPGA from the
memory was incorrect after 10 seconds and needed more time to stabilize
to the correct value.

So, instead of checking the chamelium->env.fault_occured in the
chamelium_rpc() funtion, we defer the check in the parent function
chamelium_capture(). We iterate upto 10 times if chamelium_rpc() with
method name as CaptureVideo fails thus effectively increasing the
timeout to 100 seconds instead if 10 seconds. If after 10 iterations,
chamelium->env.fault_occured is still set, we return an error.

This looks like an issue from Google's end in the FPGA code. This patch
introduces a workaround till we get the issue resolved from Google's
end.

Neel Desai (1):
  lib/igt_chamelium: Increase timeout for CaptureVideo

 lib/igt_chamelium.c | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

--
2.17.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-04-17  2:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-16 16:13 [igt-dev] [PATCH i-g-t 0/1] igt_chamelium: Increase timeout for CaptureVideo Neel Desai
2019-04-16 16:13 ` [igt-dev] [PATCH i-g-t 1/1] lib/igt_chamelium: " Neel Desai
2019-04-16 16:34   ` Summers, Stuart
2019-04-16 17:36 ` [igt-dev] ✓ Fi.CI.BAT: success for igt_chamelium: " Patchwork
2019-04-17  2:27 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

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