From: Ray Wu <ray.wu@amd.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <alex.hung@amd.com>, <sunpeng.li@amd.com>,
<chiahsuan.chung@amd.com>, <ray.wu@amd.com>
Subject: [PATCH i-g-t 0/2] kms_cursor_legacy: avoid AMD Panel Replay interference
Date: Tue, 2 Jun 2026 14:41:20 +0800 [thread overview]
Message-ID: <20260602064543.58586-1-ray.wu@amd.com> (raw)
Hi,
This patch series adds an AMD Panel Replay disable/restore step to
kms_cursor_legacy.
kms_cursor_legacy assumes cursor and concurrent plane/flip updates
commit within the same vblank. On AMD eDP, cursor updates may land in
a later vblank while Panel Replay self-refresh is active, leading to
intermittent subtest failures.
This series disallows Panel Replay entry around kms_cursor_legacy and
restores the previous state on teardown. No effect on non-amdgpu
devices or on AMD systems without Panel Replay.
Ray Wu (2):
lib/igt_amd: add helper to disable Panel Replay on all eDPs
tests/kms_cursor_legacy: disable AMD Panel Replay during test
lib/igt_amd.c | 53 +++++++++++++++++++++++++++++++++++++--
lib/igt_amd.h | 1 +
tests/kms_cursor_legacy.c | 12 +++++++++
3 files changed, 64 insertions(+), 2 deletions(-)
--
2.43.0
next reply other threads:[~2026-06-02 6:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 6:41 Ray Wu [this message]
2026-06-02 6:41 ` [PATCH i-g-t 1/2] lib/igt_amd: add helper to disable Panel Replay on all eDPs Ray Wu
2026-06-04 2:30 ` Tom Chung
2026-06-02 6:41 ` [PATCH i-g-t 2/2] tests/kms_cursor_legacy: disable AMD Panel Replay during test Ray Wu
2026-06-04 2:31 ` Tom Chung
2026-06-02 7:47 ` ✓ Xe.CI.BAT: success for kms_cursor_legacy: avoid AMD Panel Replay interference Patchwork
2026-06-02 8:07 ` ✓ i915.CI.BAT: " Patchwork
2026-06-02 14:07 ` ✗ i915.CI.Full: failure " Patchwork
2026-06-02 14:44 ` ✗ Xe.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=20260602064543.58586-1-ray.wu@amd.com \
--to=ray.wu@amd.com \
--cc=alex.hung@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=sunpeng.li@amd.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox