Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 0/2] kms_cursor_legacy: avoid AMD Panel Replay interference
@ 2026-06-02  6:41 Ray Wu
  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
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Ray Wu @ 2026-06-02  6:41 UTC (permalink / raw)
  To: igt-dev; +Cc: alex.hung, sunpeng.li, chiahsuan.chung, ray.wu


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-06-04  2:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02  6:41 [PATCH i-g-t 0/2] kms_cursor_legacy: avoid AMD Panel Replay interference Ray Wu
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox