diff options
author | Nico Huber <nico.huber@secunet.com> | 2015-08-27 13:31:46 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2015-10-12 10:10:03 +0000 |
commit | deeec18520f4c8ccdd53abbbdb07a13b7f3124bf (patch) | |
tree | 82e55596fa5ac0e6726783844cadb51bad908171 /util/msrtool/geodegx2.c | |
parent | d5842f5b5facce03365415633359584002639a00 (diff) |
gma ACPI: Do not overwrite backlight configuration
Changes to CR1 and CR2 were effectively overwriting the backlight
configuration from the devicetree with static values.
Instead read the maximum brightness value from BCLM (backlight
modulation frequency) and calculate the target level (Arg0 is the
target level as percentage).
Turned out that _BQC has to return a value from the list returned by
_BCL. So XBQC got a little heavier to search for the correct value.
Change-Id: I35419993c8250c95fc69ba4db30db9dba9e6f8ff
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: http://review.coreboot.org/11704
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Diffstat (limited to 'util/msrtool/geodegx2.c')
0 files changed, 0 insertions, 0 deletions