[Bug 70651] cannot write to power_dpm_force_performance_level: invalid argument (radeon 7730m)

bugzilla-daemon
2014-02-25T20:25:01Z

--- 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.