]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/panel: Restore saved value of BLC_PWM_CTL
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 09:45:50 +0000 (09:45 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Nov 2010 09:54:17 +0000 (09:54 +0000)
commitef602572ea218eeca77796b9bc31537691ee24be
tree9f10bd44cc91b18615e53a192867f6d1756c3d75
parentc01dbb398fe7ba00e10d988e63ed20d4bb697e53
drm/i915/panel: Restore saved value of BLC_PWM_CTL

After a GPU reset, the backlight controller registers may be also reset
to 0. In that case we should restore those to the original values
programmed by the BIOS. Note that we still lack the code to handle the
case where the BIOS failed to program those registers at all...

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_panel.c