From: Fangzhi <jerry.zuo@amd.com>
To: <igt-dev@lists.freedesktop.org>, <alex.hung@amd.com>,
<aurabindo.pillai@amd.com>
Cc: Mark Broadworth <Mark.Broadworth@amd.com>,
Fangzhi Zuo <Jerry.Zuo@amd.com>
Subject: [PATCH 2/3] tests/amdgpu: Fix for HDMI Compliance Automation
Date: Thu, 16 Jul 2026 21:32:37 -0400 [thread overview]
Message-ID: <20260717013237.2566221-1-jerry.zuo@amd.com> (raw)
From: Mark Broadworth <Mark.Broadworth@amd.com>
It is to fix hand shaking issue between DUT and the box.
Need to block until SIGNALRM triggered.
Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
Tested-by: Mark Broadworth <Mark.Broadworth@amd.com>
---
tools/amd_hdmi_compliance.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/tools/amd_hdmi_compliance.c b/tools/amd_hdmi_compliance.c
index dc24430dd..14f455320 100644
--- a/tools/amd_hdmi_compliance.c
+++ b/tools/amd_hdmi_compliance.c
@@ -915,8 +915,12 @@ static void test_vic_mode(data_t *data, int vic, int conn_id)
igt_plane_set_fb(data->primary, &afb);
igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
- igt_info("Press [Enter] to finish\n");
- wait_for_keypress();
+ if (data->timeout_seconds > 0)
+ pause(); /* block until SIGALRM fires (works when detached) */
+ else {
+ igt_info("Press [Enter] to finish\n");
+ wait_for_keypress();
+ }
test_fini(data);
}
--
2.43.0
next reply other threads:[~2026-07-17 1:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 1:32 Fangzhi [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-17 19:24 [PATCH 1/3] tests/amdgpu: Add FRL Test Support Fangzhi Zuo
2026-06-17 19:24 ` [PATCH 2/3] tests/amdgpu: Fix for HDMI Compliance Automation Fangzhi Zuo
2026-06-18 17:47 ` Alex Hung
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=20260717013237.2566221-1-jerry.zuo@amd.com \
--to=jerry.zuo@amd.com \
--cc=Mark.Broadworth@amd.com \
--cc=alex.hung@amd.com \
--cc=aurabindo.pillai@amd.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