]> 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)
commit7327d26a52280377074e9894272cda760ae004fc
treebb39ff02a2a1c8fde1ace1a1e2411c04e5807072
parenta8e63603c4b1da9d94083e171276ae46712a3451
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