From: Neel Desai <neel.desai@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 0/1] igt_chamelium: Increase timeout for CaptureVideo
Date: Tue, 16 Apr 2019 09:13:44 -0700 [thread overview]
Message-ID: <cover.1555430824.git.neel.desai@intel.com> (raw)
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
next reply other threads:[~2019-04-16 16:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-16 16:13 Neel Desai [this message]
2019-04-16 16:13 ` [igt-dev] [PATCH i-g-t 1/1] lib/igt_chamelium: Increase timeout for CaptureVideo 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1555430824.git.neel.desai@intel.com \
--to=neel.desai@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox