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)
commitf82cfb6bcda164ef3a66b8c3fc549b1f9bdd09ad
treebb39ff02a2a1c8fde1ace1a1e2411c04e5807072
parentb6834bd63ec407444098be233122a25bf4f17c75
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