diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-06-21 23:59:38 +0100 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-06-21 23:59:38 +0100 |
commit | a67c2965385001bcb8987265f698ff0f5809cd11 (patch) | |
tree | 880a2c8095a605f11838c655b1bcbe9d2b393d20 /src/i810_reg.h | |
parent | d6e46f67ab3af1ad3bfa72acb0efd9fe79dbf1dc (diff) |
Follow BIOS configuration for Legacy Backlight Brightness.
The backlight control in the LVDS controller can either operate in 'normal'
mode or 'legacy' mode. In legacy mode, it uses the PCI config space register
0xf4 which can range from 0 to 0xff. In normal mode, it reads the range and
current value from the BLC_PWM_CTL register.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r-- | src/i810_reg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index 6001297e..248df049 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -1056,6 +1056,14 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define RENCLK_GATE_D2 0x6208 #define RAMCLK_GATE_D 0x6210 /* CRL only */ +/* + * This is a PCI config space register to manipulate backlight brightness + * It is used when the BLM_LEGACY_MODE is turned on. When enabled, the first + * byte of this config register sets brightness within the range from + * 0 to 0xff + */ +#define LEGACY_BACKLIGHT_BRIGHTNESS 0xf4 + #define BLC_PWM_CTL 0x61254 #define BACKLIGHT_MODULATION_FREQ_SHIFT (17) /** |