From: Aditya Tipre <tipreaditya@gmail.com>
To: igt-dev@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org, louis.chauvet@bootlin.com,
sowmiya.s@intel.com, kamil.konieczny@linux.intel.com,
karthik.b.s@intel.com, swati2.sharma@intel.com,
tipreaditya@gmail.com
Subject: [PATCH i-g-t v4 0/2] kms_writeback: Synchronize writeback and test CRC continuity
Date: Sun, 29 Nov 2026 13:06:58 -0500 [thread overview]
Message-ID: <20261129180700.89278-1-tipreaditya@gmail.com> (raw)
This series fixes a synchronization issue in the existing writeback FB-ID
test and adds a VKMS regression test for concurrent writeback and CRC
capture.
The FB-ID test submits a writeback into the shared input framebuffer. It
must wait for completion before a later subtest refills that buffer.
Patch 1 requests and waits for the completion fence, preventing the older
writeback from modifying the next subtest's reference contents.
Patch 2 keeps CRC capture active across four alternating writebacks and
checks fresh CRC samples after each completion. It is restricted to VKMS,
does not allow modesets after capture starts, and releases capture and
the new framebuffers from the final fixture. It also clears the format
probe's pending out-fence request so the subtest works independently.
Changes since v3:
- Rebased both patches onto current IGT master, c9e2cc3119d9.
- Added a cover letter with a subject describing the complete series.
The patch contents are unchanged by the rebase.
Previous revision:
https://lore.kernel.org/igt-dev/20261105225628.4123-1-tipreaditya@gmail.com/
Validation performed on the rebased v4 series:
- Rebuilt IGT and kms_writeback on master c9e2cc3119d9 with both patches.
The generated testlist and documentation consistency checks pass.
- ARM64 QEMU/HVF with one and two CPUs, using the original unfixed/fixed
Linux kernel pair that demonstrated the VKMS composer lifetime bug.
- The prerequisite alone and the complete series pass all four existing
applicable subtests on both kernels; the two XRGB2101010 cases skip.
- The new regression reaches the expected post-writeback CRC timeout on
the unfixed kernel and passes with the VKMS composer lifetime fix, both
independently and in the full writeback suite.
- Temporary failure probes verify framebuffer and buffer-handle cleanup
after partial setup, CRC comparison failure, timeout, success, and skip.
- All 19 validation cases produced their expected outcomes, with no kernel
warnings detected. Strict checkpatch reports no issues in either patch.
Aditya Tipre (2):
tests/kms_writeback: Wait for the valid FB ID writeback
tests/kms_writeback: Check CRC capture survives writeback
tests/kms_writeback.c | 75 +++++++++++++++++++++++++++++++++++++++++--
1 file changed, 73 insertions(+), 2 deletions(-)
--
2.50.1 (Apple Git-155)
next reply other threads:[~2026-11-29 18:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 18:06 Aditya Tipre [this message]
2026-11-29 18:06 ` [PATCH i-g-t v4 1/2] tests/kms_writeback: Wait for the valid FB ID writeback Aditya Tipre
2026-11-29 18:07 ` [PATCH i-g-t v4 2/2] tests/kms_writeback: Check CRC capture survives writeback Aditya Tipre
2026-11-29 18:21 ` ✗ LGCI.VerificationFailed: failure for kms_writeback: Synchronize writeback and test CRC continuity Patchwork
2026-12-01 0:51 ` ✓ Xe.CI.BAT: success for kms_writeback: Synchronize writeback and test CRC continuity (rev2) Patchwork
2026-12-01 1:02 ` ✓ i915.CI.BAT: " Patchwork
2026-12-01 14:02 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-12-01 23:20 ` ✗ i915.CI.Full: " 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=20261129180700.89278-1-tipreaditya@gmail.com \
--to=tipreaditya@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=igt-dev@lists.freedesktop.org \
--cc=kamil.konieczny@linux.intel.com \
--cc=karthik.b.s@intel.com \
--cc=louis.chauvet@bootlin.com \
--cc=sowmiya.s@intel.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.