View | Details | Raw Unified | Return to bug 381549
Collapse All | Expand All

(-)a/src/i830_lvds.c (-2 / +2 lines)
Lines 133-143 i830_set_lvds_backlight_method(xf86OutputPtr output) Link Here
133
    } else if (IS_I965GM(pI830) || IS_IGD_GM(pI830)) {
133
    } else if (IS_I965GM(pI830) || IS_IGD_GM(pI830)) {
134
	blc_pwm_ctl2 = INREG(BLC_PWM_CTL2);
134
	blc_pwm_ctl2 = INREG(BLC_PWM_CTL2);
135
	if (blc_pwm_ctl2 & BLM_LEGACY_MODE2)
135
	if (blc_pwm_ctl2 & BLM_LEGACY_MODE2)
136
	    method = BCM_LEGACY;
136
	    method = BCM_COMBO;
137
    } else {
137
    } else {
138
	blc_pwm_ctl = INREG(BLC_PWM_CTL);
138
	blc_pwm_ctl = INREG(BLC_PWM_CTL);
139
	if (blc_pwm_ctl & BLM_LEGACY_MODE)
139
	if (blc_pwm_ctl & BLM_LEGACY_MODE)
140
	    method = BCM_LEGACY;
140
	    method = BCM_COMBO;
141
    }
141
    }
142
142
143
    pI830->backlight_control_method = method;
143
    pI830->backlight_control_method = method;

Return to bug 381549