Skip to content

kms_cursor_legacy: avoid AMD Panel Replay interference

Ray Wu igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/igt_amd: add helper to disable Panel Replay on all eDPslib/igt_amd.c lib/igt_amd.h+52 -21 reply
2/2tests/kms_cursor_legacy: disable AMD Panel Replay during testtests/kms_cursor_legacy.c+12 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTom Chung
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH i-g-t 0/2] kms_cursor_legacy: avoid AMD Panel Replay interference

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(-)
Signature · 1 line
2.43.0