APPLIED/Cmt: [PATCH 0/3][SRU][Oracular] Enable AMD Panel Replay

Mehmet Basaran mehmet.basaran at canonical.com
Mon Jan 13 06:40:51 UTC 2025


You-Sheng Yang <vicamo.yang at canonical.com> writes:

> 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
>
>
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
This one was already applied to oracular:linux master-next branch via
upstream stable;

d048503596ff drm/amd/display: Fix Panel Replay not update screen correctly
4bb741c84624 drm/amd/display: Change some variable name of psr
ada97f5bb731 drm/amd/display: Run idle optimizations at end of vblank handler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 873 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250113/3d6763d9/attachment.sig>


More information about the kernel-team mailing list