https://bugzilla.kernel.org/show_bug.cgi?id=70651
--- Comment #9 from Fabio Sangiovanni sjh+bugzillakernel@sanjioh.org --- Created attachment 127471 --> https://bugzilla.kernel.org/attachment.cgi?id=127471&action=edit patched_radeon_pm.c
Hi, I tried with 3.14-rc4, I still don't get the new sensible values upon accessing sysfs/debugfs when the asic is turned off.
With:
root@darkstar:~# cat /sys/kernel/debug/vgaswitcheroo/switch 0:DIS: :DynOff:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0
I still get:
root@darkstar:~# cat /sys/kernel/debug/dri/64/radeon_pm_info default engine clock: 575000 kHz current engine clock: 210280 kHz default memory clock: 900000 kHz current memory clock: 00 kHz voltage: 825 mV PCIE lanes: 16
Looking at the patch, I think I should get 'Chip powered off'.
Source of my drivers/gpu/drm/radeon/radeon_pm.c attached.