https://bugzilla.kernel.org/show_bug.cgi?id=70651 --- Comment #5 from Fabio Sangiovanni <sjh+bugzillakernel@xxxxxxxxxxx> --- hi, I'm sorry but the patch doesn't seem to work to me. I've applied it to 3.13.3: root@darkstar:/usr/src/linux# patch -p1 < patch.txt patching file drivers/gpu/drm/radeon/radeon_pm.c Hunk #7 succeeded at 1580 (offset -20 lines). This is what I get: root@darkstar:~# cat /sys/kernel/debug/vgaswitcheroo/switch 0:DIS: :DynOff:0000:01:00.0 1:IGD:+:Pwr:0000:00:02.0 root@darkstar:~# cat /sys/class/drm/card0/device/power_dpm_state balanced root@darkstar:~# cat /sys/class/drm/card0/device/power_dpm_force_performance_level auto root@darkstar:~# echo 'high' > /sys/class/drm/card0/device/power_dpm_force_performance_level -bash: echo: write error: Invalid argument root@darkstar:~# echo 'low' > /sys/class/drm/card0/device/power_dpm_force_performance_level -bash: echo: write error: Invalid argument root@darkstar:~# echo 'auto' > /sys/class/drm/card0/device/power_dpm_force_performance_level -bash: echo: write error: Invalid argument root@darkstar:~# cat /sys/kernel/debug/dri/0/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 Plus, I've noticed this (unsure if it's missing some sort of parsing): root@darkstar:~# echo 'batteryxxxx' > /sys/class/drm/card0/device/power_dpm_state root@darkstar:~# cat /sys/class/drm/card0/device/power_dpm_state battery (Same result with 'performancexxxx' and 'balancedxxxx') It's ok with random letters as prefix: root@darkstar:~# echo 'xxxxbattery' > /sys/class/drm/card0/device/power_dpm_state -bash: echo: write error: Invalid argument Please let me know if I can help somehow. Thanks! -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel