drm/i915: Only restore backlight combination mode reg for ums
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 16 Jan 2014 15:42:54 +0000 (16:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Jan 2014 16:22:45 +0000 (17:22 +0100)
commit7f1bdbcb325b5cdae8c440980dabb5ed081012d5
tree4436f1db19b5daf256021369dc51ece58080b514
parentcc9bd499d3bcdb31709a37b3c637cbff96e70f58
drm/i915: Only restore backlight combination mode reg for ums

This was forgotten in

commit 565ee3897f0cb1e9b09905747b3784e6605767e8
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Wed Nov 13 12:56:29 2013 +0200

    drm/i915: do not save/restore backlight registers in KMS

Since the confusion was likely due to the duplicated definition for
this pci config register, let's unify that, too.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/i915_ums.c
drivers/gpu/drm/i915/intel_panel.c