From: Fangzhi Zuo <jerry.zuo@amd.com>
To: <igt-dev@lists.freedesktop.org>, <alex.hung@amd.com>
Cc: Mark Broadworth <Mark.Broadworth@amd.com>,
Fangzhi Zuo <Jerry.Zuo@amd.com>
Subject: [PATCH 2/2] tools/amd_hdmi_compliance: Fix for HDMI Compliance Automation
Date: Tue, 21 Jul 2026 15:56:08 -0400 [thread overview]
Message-ID: <20260721195612.25545-2-jerry.zuo@amd.com> (raw)
In-Reply-To: <20260721195612.25545-1-jerry.zuo@amd.com>
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: Mark Broadworth <Mark.Broadworth@amd.com>
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 a60176c0e..2861b440e 100644
--- a/tools/amd_hdmi_compliance.c
+++ b/tools/amd_hdmi_compliance.c
@@ -903,8 +903,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.53.0
next prev parent reply other threads:[~2026-07-21 19:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-21 19:56 [PATCH 1/2] tools/amd_hdmi_compliance: Add FRL Test Support Fangzhi Zuo
2026-07-21 19:56 ` Fangzhi Zuo [this message]
2026-07-22 0:14 ` [PATCH 2/2] tools/amd_hdmi_compliance: Fix for HDMI Compliance Automation Alex Hung
2026-07-22 0:01 ` ✓ Xe.CI.BAT: success for series starting with [1/2] tools/amd_hdmi_compliance: Add FRL Test Support Patchwork
2026-07-22 0:14 ` [PATCH 1/2] " Alex Hung
2026-07-22 0:15 ` ✓ i915.CI.BAT: success for series starting with [1/2] " Patchwork
2026-07-22 16:03 ` ✓ Xe.CI.FULL: " Patchwork
2026-07-22 23:51 ` ✗ i915.CI.Full: failure " 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=20260721195612.25545-2-jerry.zuo@amd.com \
--to=jerry.zuo@amd.com \
--cc=Mark.Broadworth@amd.com \
--cc=alex.hung@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