From 30d74f1b1f30e751d2c47aa63a4a2043e71467dc Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 4 Dec 2007 18:23:44 -0800 Subject: [PATCH] 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. --- src/i830_lvds.c | 4 ++-- 1 file 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;