git: acpi/cstate: Allow request deeper C-state, even it has no _CST entry
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun Jan 12 02:29:31 PST 2014
commit 1d7303387db62491e19fc66b2b6a54489e361ec0
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun Jan 12 16:54:45 2014 +0800
acpi/cstate: Allow request deeper C-state, even it has no _CST entry
On laptop, BIOS may unveil more C-states if power cable is unplugged,
which means if you want to use these deeper C-states you will have to
re-adjust C-state sysctls. This commit automates this kind of
"re-adjust". Read-only sysctl nodes hw.acpi.cpuX.cx_lowest_use and
hw.acpi.cpu.cx_lowest_use are introduced to show the current deepest
C-state could be used.
Summary of changes:
sys/dev/acpica/acpi_cpu_cstate.c | 76 ++++++++++++++++++++++++++++++++++++----
1 file changed, 69 insertions(+), 7 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1d7303387db62491e19fc66b2b6a54489e361ec0
--
DragonFly BSD source repository
More information about the Commits
mailing list