diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-16 16:42:54 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-01-24 17:22:45 +0100 |
commit | 7f1bdbcb325b5cdae8c440980dabb5ed081012d5 (patch) | |
tree | 4436f1db19b5daf256021369dc51ece58080b514 /drivers/gpu/drm/i915/intel_panel.c | |
parent | cc9bd499d3bcdb31709a37b3c637cbff96e70f58 (diff) | |
download | op-kernel-dev-7f1bdbcb325b5cdae8c440980dabb5ed081012d5.zip op-kernel-dev-7f1bdbcb325b5cdae8c440980dabb5ed081012d5.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_panel.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_panel.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index 350de35..9f83ab0 100644 --- a/drivers/gpu/drm/i915/intel_panel.c +++ b/drivers/gpu/drm/i915/intel_panel.c @@ -33,8 +33,6 @@ #include <linux/moduleparam.h> #include "intel_drv.h" -#define PCI_LBPC 0xf4 /* legacy/combination backlight modes */ - void intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, struct drm_display_mode *adjusted_mode) |