https://bugs.freedesktop.org/show_bug.cgi?id=105760
--- Comment #45 from Thomas Martitz kugel@rockbox.org ---
Most importantly, my observation that reading toc->num_entries returns -1 is still occuring:
[ 368.991914] amdgpu: [powerplay] smu7_request_smu_load_fw: 10 ffffb456a0081000 0 1 [ 368.991927] amdgpu: [powerplay] smu7_request_smu_load_fw: 20 ffffb456a0081000 -1 -1
These message come from.you patch, they done happen with just my last workaround.
If I insert a printk after the pci_set_power_state() succeeds and pci -> current_state indicates that gpu is powered on, yet reading from the mapped memory still returns -l. How does that make any sense?