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)
commit0b0b053a3949f5c467c3b3ba135d4c161f9fbd00
tree9f10bd44cc91b18615e53a192867f6d1756c3d75
parent3685092b717882bb9b6801bf3e4b02a106e3b129
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