diff options
author | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-03-28 13:23:02 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-03-28 13:23:02 -0700 |
commit | 1450acd046d47e1739a3ffbd146c73ad2974a935 (patch) | |
tree | 64ae483beb59d3649cda1213979f955a9ac5ee84 /src/i830_lvds.c | |
parent | 49f409fef5e8b04a8595309ba8959ca36b2e41b1 (diff) |
Use combo backlight control rather than pure legacy
If the legacy bit is set, use both the BLC_PWM_CTL and LBB regs to control the
backlight, rather than just LBB. Looks like more platforms want that than what
the current code does. Note that kernel provided interfaces will always be
used if available, so this shouldn't affect users with /sys/class/backlight
interfaces at all.
Fixes #14721.
Diffstat (limited to 'src/i830_lvds.c')
-rw-r--r-- | src/i830_lvds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_lvds.c b/src/i830_lvds.c index 28a51d98..33b4f269 100644 --- a/src/i830_lvds.c +++ b/src/i830_lvds.c @@ -133,11 +133,11 @@ i830_set_lvds_backlight_method(xf86OutputPtr output) } else if (IS_I965GM(pI830) || IS_IGD_GM(pI830)) { blc_pwm_ctl2 = INREG(BLC_PWM_CTL2); if (blc_pwm_ctl2 & BLM_LEGACY_MODE2) - method = BCM_LEGACY; + method = BCM_COMBO; } else { blc_pwm_ctl = INREG(BLC_PWM_CTL); if (blc_pwm_ctl & BLM_LEGACY_MODE) - method = BCM_LEGACY; + method = BCM_COMBO; } pI830->backlight_control_method = method; |