]> 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)
commite9a5f81ceb7565b73bdade9a582e85bf6526911d
tree39e978730518228923aa676acad7c7d524d1d78e
parent52a3b39ef0a436c31f75f89ad7845c8cb3e1d4d0
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