[PATCH 0/3][SRU][Oracular] Enable AMD Panel Replay
You-Sheng Yang
vicamo.yang at canonical.com
Sun Dec 1 18:31:08 UTC 2024
BugLink: https://bugs.launchpad.net/bugs/2089556
[Impact]
AMD GPU Panel Replay not enabled.
```
[drm:amdgpu_dm_update_freesync_caps [amdgpu]] Panel supports Replay Mode: 0
```
[Fix]
* commit be64336307a6("drm/amd/display: Re-enable panel replay feature") from
v6.12-rc1, also backported to v6.11.3
* commit 17e68f89132b("drm/amd/display: Run idle optimizations at end of vblank
handler") from v6.12-rc1, also backported to v6.11.10
* commit c7fafb7a46b3("drm/amd/display: Change some variable name of psr") in
upstream master, also backported to v6.11.10
* commit ca628f0eddd7("drm/amd/display: Fix Panel Replay not update screen
correctly") in upstream master, also backported to v6.11.10
[Test Case]
Install proposed kernel, check dmesg output:
```
$ sudo dmesg | grep amdgpu
[drm:amdgpu_dm_update_freesync_caps [amdgpu]] Panel supports Replay Mode: 1
```
Check hardware/driver support:
```
$ cat /sys/kernel/debug/dri/0/eDP-1/replay_capability
Sink support: yes
Driver support: yes
Config support: yes
```
To have visual confirm, add `amdgpu.visualconfirm=0x0c` to boot parameters, then
one color bar will be presented in the bottom line.
[Where problems could occur]
New hardware feature support. Expect further stable fixes.
[Other Info]
These changes have been backported to linux-6.11.y stable but across several
stable revisions. Backport them as an integral so that panel display wont break
between v6.11.3 and v6.11.10. Nominate for Oracular/OEM-6.11/Plucky.
Leo Li (1):
drm/amd/display: Run idle optimizations at end of vblank handler
Tom Chung (2):
drm/amd/display: Change some variable name of psr
drm/amd/display: Fix Panel Replay not update screen correctly
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 115 +++++++++---------
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 2 +-
.../amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 17 ++-
.../display/amdgpu_dm/amdgpu_dm_irq_params.h | 2 +-
4 files changed, 72 insertions(+), 64 deletions(-)
--
2.45.2
More information about the kernel-team
mailing list