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.
This commit is contained in:
Jesse Barnes 2007-12-04 18:23:44 -08:00
parent 0e554e6dd4
commit 30d74f1b1f
1 changed files with 2 additions and 2 deletions

View File

@ -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;