> Not entirely sure if this is the exact logging you are looking for,
but this is the result from my testing.

Thanks for having a try.

> ➜ ~ sudo python Downloads/psr.py
> DRI device 0 DMCUB F/W version: 0x0400003c
> ○ PSR 2 with Y coordinates (eDP 1.4a) [3]
> ○ Sink OUI: Parade
> ○ resv_40f: 01
> ○ ID String: 08-03
> ○ PSR Status: 00-00-02

You do have an affected panel, and if the system isn't freezing this
shows that the updated firmware worked.  The version you tested (
0x0400003c )  is a little newer than I suggested ( 0x400003a ) but
that's fine.  The fix carries forward.

> BOOT_IMAGE=/boot/vmlinuz-6.4.0-060400-generic
root=UUID=41d8f993-282a-48a5-b355-6f537a3a17ab ro quiet splash
amdgpu.dcdebugmask=0x0 vt.handoff=7

Good; you don't have PSR manually disabled.

> Jul 3 19:45:50 rct14s kernel: [ 1001.214638] WARNING: CPU: 3 PID: 237
at drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_psr.c:126
dmub_psr_get_state+0xcc/0xe0 [amdgpu]

This warning we're tracking at
https://gitlab.freedesktop.org/drm/amd/-/issues/2645


** Bug watch added: gitlab.freedesktop.org/drm/amd/-/issues #2645
   https://gitlab.freedesktop.org/drm/amd/-/issues/2645

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/2024774

Title:
  AMD Rembrandt / Phoenix PSR-SU related freezes

Status in Linux Firmware:
  New
Status in linux-firmware package in Ubuntu:
  Fix Released
Status in linux-firmware source package in Jammy:
  Confirmed
Status in linux-firmware source package in Lunar:
  Confirmed
Status in linux-firmware source package in Mantic:
  Fix Released

Bug description:
  [ Impact ]

   When using kernel 6.2 or later AMD has enabled PSR selective update (PSR-SU).
   After a non-deterministic amount of time the system may hang with a message 
like this in the logs:
   "[amdgpu 0000:67:00.0: [drm] *ERROR* [CONNECTOR:78:eDP-1] commit wait timed 
out]"

   Affects users of laptops that contain:
   * AMD Rembrandt (Yellow Carp) or AMD Phoenix (Pink Sardine) chips
   * eDP panels with Parade TCONs (8-03 and 8-01 both reported to fail)

  [ Test Plan ]

   * Test an affected laptop with the newer firmware and ensure that PSR-SU 
function can be enabled and system is stable.
   * Ensure other functions such as hotplugging monitors and suspending 
continue to work.

  [ Where problems could occur ]

   * Affected firmware only is loaded on Rembrandt and Phoenix laptops.
  Problems would be localized to these machines.

  [ Other Info ]
  The minimum firmware needed to help these hangs:
  * Rembrandt: 0x400003a or later
  * Phoenix: 0x8001000 or later

  The following commit upgrades the firmware for Rembrandt 
(amdgpu/yellow_carp_dmcub.bin) to 0x400003c:
  9dbd8ec2 ("amdgpu: DMCUB updates for various AMDGPU asics")

  The following commit upgrades the firmware for Phoenix 
(amdgpu/dcn_3_1_4_dmcub.bin) to 0x8001a00:
  045b2136 ("amdgpu: update DMCUB to v0.0.172.0 for various AMDGPU ASICs")

  The TCON in a given laptop can be identified from the DPCD with this script:
  https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/psr.py

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux-firmware/+bug/2024774/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to