drm/amd/display: fix Panel Replay artifacts on DCN 3.14 (Phoenix/Hawk Point)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/amd/display: reset sr_skip_count on non-fast updatesdrivers/ | +6 | 0 replies | |
| 2/3 | drm/amd/display: fix Panel Replay using stale PSR timestamp for re-enable guarddrivers/ | +7 | 0 replies | |
| 3/3 | drm/amd/display: disable Panel Replay selective update on DCN 3.14drivers/ | +10 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] drm/amd/display: fix Panel Replay artifacts on DCN 3.14 (Phoenix/Hawk Point)
This series fixes visual artifacts caused by Panel Replay on AMD Phoenix APUs (Radeon 780M, DCN 3.14). The artifacts appear as brief green/purple horizontal bands during screen updates — workspace switches, browser scrolling, window management. They are widely reported across vendors (Framework 16, Lenovo T14, HONOR MagicBook) and tracked as drm/amd#5087.
Root cause analysis identified two driver bugs and one firmware issue:
1. sr_skip_count is never reset after non-fast updates, allowing Panel Replay to be re-enabled on the very first fast commit following a full-frame update that disabled it. During compositor animations (e.g., GNOME workspace switch), this causes Replay to reactivate mid-animation.
2. The 500ms re-enable guard in amdgpu_dm_enable_self_refresh() uses psr_dirty_rects_change_timestamp_ns, which is only updated in the PSR-SU code path. For Panel Replay, this timestamp is never set, so the guard always passes — making it ineffective.
3. The DMCUB firmware on DCN 3.14 produces corruption during Panel Replay selective updates. This is a firmware-level issue that cannot be fixed from the driver. However, full-frame updates within Panel Replay work correctly.
Patches 1 and 2 fix the driver-side timing bugs that affect all DCN versions with Panel Replay support. Patch 3 works around the firmware issue by disabling selective update specifically on DCN 3.14, preserving Panel Replay's static-screen power savings while avoiding the buggy SU code path.
With all three patches, Phoenix/Hawk Point systems can use Panel Replay without artifacts and without the amdgpu.dcdebugmask=0x410 workaround that currently disables Replay entirely.
Tested-on: HONOR MagicBook Art 14 (FMI-XX), AMD Ryzen 7 8845HS,
Radeon 780M, Fedora 43, kernel 6.19.9
Sbenazar (3):
drm/amd/display: reset sr_skip_count on non-fast updates drm/amd/display: fix Panel Replay using stale PSR timestamp for
re-enable guard
drm/amd/display: disable Panel Replay selective update on DCN 3.14
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 15 ++++++++++++++- .../dc/link/protocols/link_edp_panel_control.c | 11 ++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-)
--
2.48.1