PSR does not work properly and gets disabled on resume
Setting amdgpu.dcfeaturemask=0x08 kernel command string to allow PSR to activate
On first boot it is active [ 2.621727] [drm] PSR support:1 But works ugly - screen gets refreshed based on mouse move, but ignores keyboard entry - when i type somethon in termnal nothig shows up until I move mouse.
After suspen-resume cycle things look better - everything responsible but no PSR active (/sys/kernel/debug/dri/0/eDP-1/psr_state always 0), dmesg shows error in dc_link_setup_psr. Display have full PSR1 support - same matrix NE140FHM-N61 V8.0 on Lenovo T490 (intel based) works fine, PSR enabled.
Renoir 4700U, Dell Inspiron 5405
[ 72.134789] ------------[ cut here ]------------ [ 72.134794] WARNING: CPU: 3 PID: 297 at dc_link_setup_psr+0x250/0x310 [ 72.134802] Modules linked in: uhid fuse uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common btintel iwlmvm videodev mc snd_acp3x_rn iwlwifi snd_acp3x_pdm_dma snd_hda_codec_hdmi snd_rn_pci_acp3x i2c_piix4 input_leds kvm_amd atkbd hid_multitouch evdev vboxnetadp(O) vboxnetflt(O) vboxdrv(O) efivarfs [last unloaded: btusb] [ 72.134820] CPU: 3 PID: 297 Comm: kworker/u16:5 Tainted: G O 5.12.0-rc0 #1 (closed) [ 72.134822] Hardware name: Dell Inc. Inspiron 5405/0T8GY6, BIOS 1.4.0 10/26/2020 [ 72.134825] Workqueue: events_unbound async_run_entry_fn [ 72.134830] RIP: 0010:dc_link_setup_psr+0x250/0x310 [ 72.134832] Code: 24 41 4d 85 f6 74 5b 49 8b 46 08 4c 89 e2 48 89 de 4c 89 f7 48 8b 00 e8 be 9d a5 00 88 83 08 02 00 00 84 c0 0f 85 fd fd ff ff <0f> 0b 48 83 c4 10 b8 01 00 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 [ 72.134834] RSP: 0018:ffffc90000497978 EFLAGS: 00010246 [ 72.134835] RAX: 0000000000000000 RBX: ffff88810285f800 RCX: 000000000000085e [ 72.134836] RDX: ffffc90000497b48 RSI: ffff88810285f800 RDI: ffff888102468ea0 [ 72.134837] RBP: ffff8881073bd000 R08: ffffffff82d7a704 R09: ffff888102880000 [ 72.134837] R10: 0000000000000002 R11: ffff8881026f8900 R12: ffffc90000497b48 [ 72.134838] R13: ffffc90000497a88 R14: 0000000000000000 R15: ffff888102468ea0 [ 72.134839] FS: 0000000000000000(0000) GS:ffff888fcf6c0000(0000) knlGS:0000000000000000 [ 72.134839] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.134840] CR2: 0000000000000000 CR3: 0000000005810000 CR4: 00000000003506e0 [ 72.134841] Call Trace: [ 72.134845] amdgpu_dm_atomic_commit_tail+0x2325/0x2380 [ 72.134849] ? ttm_bo_move_accel_cleanup+0x1be/0x3b0 [ 72.134853] commit_tail+0x8d/0x120 [ 72.134857] drm_atomic_helper_commit+0x1d4/0x200 [ 72.134858] drm_atomic_helper_commit_duplicated_state+0xda/0xf0 [ 72.134860] drm_atomic_helper_resume+0x77/0x120 [ 72.134862] dm_resume+0x30a/0x7f0 [ 72.134864] ? pci_pm_restore+0x1c0/0x1c0 [ 72.134867] amdgpu_device_ip_resume_phase2+0x4d/0xb0 [ 72.134870] ? amdgpu_device_fw_loading+0xb1/0x2d0 [ 72.134871] amdgpu_device_resume+0x9c/0x450 [ 72.134873] ? pci_pm_restore+0x1c0/0x1c0 [ 72.134874] ? pci_pm_resume+0xf7/0x1c0 [ 72.134876] ? pci_pm_restore+0x1c0/0x1c0 [ 72.134877] async_resume+0xd1/0x310 [ 72.134881] async_run_entry_fn+0x32/0xe0 [ 72.134883] process_one_work+0x1b1/0x300 [ 72.134886] worker_thread+0x48/0x470 [ 72.134887] ? process_one_work+0x300/0x300 [ 72.134888] kthread+0x181/0x1b0 [ 72.134890] ? kthread_create_worker_on_cpu+0x180/0x180 [ 72.134891] ret_from_fork+0x1f/0x30 [ 72.134894] ---[ end trace eda22e18ae1b3009 ]---