]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't forget the PCH backlight registers
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Sat, 14 Jul 2012 14:57:12 +0000 (11:57 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:41 +0000 (12:21 +0200)
commit00f626d5a64a329d79feda27e82b2a42949c69ae
tree39e978730518228923aa676acad7c7d524d1d78e
parent8e0671601f3c969e1942da2c1e9bcc21e819ddf4
drm/i915: don't forget the PCH backlight registers

When we enable/disable the CPU backlight registers we can't forget to
enable/disable the PCH backlight registers. Since we're using the CPU
registers we should also unset the override bit.

Fixes a regression on the following commit:
  drm/i915: properly enable the blc controller on the right pipe

The commit just deleted the code that sets the PCH registers, so it
was relying on the values set by the BIOS. I told my BIOS to boot on
the DVI monitor instead of the LVDS panel, so I noticed the bug.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c