Fix backlight for ivybridge based laptops (and whatever else comes through
this codepath.) (1<<30) is documented as BLM_PCH_OVERRIDE_ENABLE, which the current i915 driver in Linux only sets for broadwell chips. This fixes the backlight control on the Lenovo X230. Approved by: kib Obtained from: Linux 7aa1e7f06d6ea1bce3b27630d50769d13da28b1a
This commit is contained in:
parent
c0a9702f95
commit
29fa5c67e4
@ -6995,7 +6995,7 @@ static void ivb_pch_pwm_override(struct drm_device *dev)
|
||||
*/
|
||||
I915_WRITE(BLC_PWM_CPU_CTL2, PWM_ENABLE);
|
||||
I915_WRITE(BLC_PWM_CPU_CTL, 0);
|
||||
I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE | (1<<30));
|
||||
I915_WRITE(BLC_PWM_PCH_CTL1, PWM_ENABLE);
|
||||
}
|
||||
|
||||
void intel_modeset_init_hw(struct drm_device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user