]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: allow PCH PWM override on IVB
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 11 Apr 2012 16:23:35 +0000 (09:23 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 12 Apr 2012 19:14:12 +0000 (21:14 +0200)
commitaaea6429b2cece70defc26b86453a41c9edf4627
treebb39ff02a2a1c8fde1ace1a1e2411c04e5807072
parent328705d98863ca0413386081c053a40016598c1b
drm/i915: allow PCH PWM override on IVB

On IVB, there are two sets of panel backlight regs: one in the CPU and
one in the PCH.  The CPU ones aren't generally used, so on IVB make sure
we allow the PCH regs to actually control the backlight.

v2: remove unused pwm variable (Daniel)
    move to init_hw function so we override on resume too

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c