drm/i915: do not save/restore backlight registers in KMS
authorJani Nikula <jani.nikula@intel.com>
Wed, 13 Nov 2013 10:56:29 +0000 (12:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Nov 2013 11:22:32 +0000 (12:22 +0100)
commit565ee3897f0cb1e9b09905747b3784e6605767e8
tree2064ffa67cdb4387dd056283faf7ed095f9a4e0b
parent58cad0768ca204599561bdb5509fb4ffc92603cb
drm/i915: do not save/restore backlight registers in KMS

The backlight enable code now has the smarts to do the right thing. Only
do backlight register save/restore in UMS.

Some VLV specific code gets dropped as UMS is not supported on VLV.

v2: Move save/restore to UMS instead of removing completely (Daniel).

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/i915_ums.c