summaryrefslogtreecommitdiff
path: root/src/i830_lvds.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-12-04 18:23:44 -0800
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-12-04 18:23:44 -0800
commit30d74f1b1f30e751d2c47aa63a4a2043e71467dc (patch)
tree75c1cf7a6a77d3db5d3f8adcce69010a2df8b634 /src/i830_lvds.c
parent0e554e6dd4da56be24d2f971ff4cd4d585936724 (diff)
Use "LEGACY" backlight method if backlight control is such
This may regress the user experience a bit (fewer backlight levels) on machines where both the LBB and native registers work, but it's better that it work for everyone than work extra well for some and not at all for others.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r--src/i830_lvds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c
index a3a56f7b..da1fc462 100644
--- a/src/i830_lvds.c
+++ b/src/i830_lvds.c
@@ -116,11 +116,11 @@ i830_set_lvds_backlight_method(xf86OutputPtr output)
} else if (IS_I965GM(pI830)) {
blc_pwm_ctl2 = INREG(BLC_PWM_CTL2);
if (blc_pwm_ctl2 & BLM_LEGACY_MODE2)
- method = COMBO;
+ method = LEGACY;
} else {
blc_pwm_ctl = INREG(BLC_PWM_CTL);
if (blc_pwm_ctl & BLM_LEGACY_MODE)
- method = COMBO;
+ method = LEGACY;
}
pI830->backlight_control_method = method;