[Bug 205291] Cannot switch off Radeon HD 4330/4350/4550 with vgaswitcheroo
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Thu Apr 23 09:57:18 UTC 2020
https://bugzilla.kernel.org/show_bug.cgi?id=205291
K J Petrie (kernel.bugs at kjpetrie.co.uk) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #11 from K J Petrie (kernel.bugs at kjpetrie.co.uk) ---
I decided to compile 5.6.6 with CONFIG_PM_ADVANCED_DEBUG.
To my amazement, this gave me:
# uname -r
5.6.6
# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
2:DIS-Audio: :DynOff:0000:01:00.1 (!!!!!!)
(GPU)
# cat /sys/bus/pci/devices/0000\:01\:00.0/power/control
auto
# cat /sys/bus/pci/devices/0000\:01\:00.0/power/runtime_status
suspended
cat /sys/bus/pci/devices/0000\:01\:00.0/power/runtime_usage
0
# cat /sys/bus/pci/devices/0000\:01\:00.0/power/runtime_active_kids
0
(HDA)
# cat /sys/bus/pci/devices/0000\:01\:00.1/power/control
auto
# cat /sys/bus/pci/devices/0000\:01\:00.1/power/runtime_status
suspended
# cat /sys/bus/pci/devices/0000\:01\:00.1/power/runtime_usage
0
# cat /sys/bus/pci/devices/0000\:01\:00.1/power/runtime_active_kids
0
So, either enabling CONFIG_PM_ADVANCED_DEBUG affects this or it's fixed in the
latest kernels.
As a quick check I installed the distribution's latest kernel:
# uname -r
5.5.19-pclos1
[root at master2 ken]# cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
2:DIS-Audio: :DynOff:0000:01:00.1
So it looks as if it was fixed in the 5.5 kernels.
However, both the 5.5 (distro) and 5.6 (mainline) kernels emit a terrible
clattering sound during services start up. I'm unsure whether that's coming
from the speakers, HDD or optical drive. If the former, it's just a nuisance,
if one of the latter it's not good news. I hope that's not related to the fix!
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list