From: "Sebastian Brzezinka" <sebastian.brzezinka@intel.com>
To: Gil Dekel <gildekel@google.com>, <igt-dev@lists.freedesktop.org>
Cc: Swati Sharma <swati2.sharma@intel.com>,
Karthik B S <karthik.b.s@intel.com>,
Jani Nikula <jani.nikula@intel.com>,
"Kamil Konieczny" <kamil.konieczny@linux.intel.com>,
Mark Yacoub <markyacoub@google.com>,
igt-dev <igt-dev-bounces@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t] tests/kms_hdr: Use /dev/kmsg in invalid-hdr
Date: Fri, 04 Dec 2026 10:18:20 +0100 [thread overview]
Message-ID: <DNBU3ZWVAYIW.1H7FEAGDDJR6V@intel.com> (raw)
In-Reply-To: <20261124194438.314352-1-gildekel@google.com>
Hi Gil,
On Tue Nov 24, 2026 at 8:44 PM CET, Gil Dekel wrote:
> invalid-hdr checks that the kernel rejected the EOTF by running
> system("dmesg|tail -n 1000|grep -E \"Unknown EOTF [0-9]+\""). That grep
> also matches "Unknown EOTF" lines left in the ring buffer by earlier
> format iterations, the preceding TEST_ONLY check, or other outputs, so
> it can pass when the commit under test logged nothing; conversely,
> verbose DRM_UT_KMS modeset logs after infoframe setup can push the line
> past tail -n 1000. It also requires sh, dmesg, tail, and grep on the
> target.
>
> Open /dev/kmsg with O_NONBLOCK and seek to SEEK_END right before the
> HDR metadata commit (skipping if /dev/kmsg is inaccessible). After the
> commit, read records until EAGAIN, continue past EPIPE if older records
> were overwritten, and assert that a record logged during this commit
> contains "Unknown EOTF <n>".
>
> Cc: Swati Sharma <swati2.sharma@intel.com>
> Cc: Karthik B S <karthik.b.s@intel.com>
> Cc: Jani Nikula <jani.nikula@intel.com>
> Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
> Cc: Mark Yacoub <markyacoub@google.com>
> Assisted-by: Claude:claude-fable-5.2
> Signed-off-by: Gil Dekel <gildekel@google.com>
> ---
>
pushed to branch master at drm / igt-gpu-tools
--
Best regards,
Sebastian
prev parent reply other threads:[~2026-12-04 9:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 19:44 [PATCH i-g-t] tests/kms_hdr: Use /dev/kmsg in invalid-hdr Gil Dekel
2026-11-25 20:43 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-11-25 20:55 ` ✓ i915.CI.BAT: " Patchwork
2026-11-26 4:46 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-11-27 2:39 ` ✗ i915.CI.Full: " Patchwork
2026-12-01 20:26 ` [PATCH i-g-t] " Gil Dekel
2026-12-03 12:33 ` Kamil Konieczny
2026-12-04 9:18 ` Sebastian Brzezinka [this message]
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=DNBU3ZWVAYIW.1H7FEAGDDJR6V@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=gildekel@google.com \
--cc=igt-dev-bounces@lists.freedesktop.org \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--cc=karthik.b.s@intel.com \
--cc=markyacoub@google.com \
--cc=swati2.sharma@intel.com \
/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 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.