summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_panel.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2013-11-08 18:48:58 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-13 14:18:45 +0400
commitab51c86a88ba09ec657b1e02aa7824938afb7bd3 (patch)
tree2938189090773f3cd29aee5cdcc673132823d3d5 /drivers/gpu/drm/i915/intel_panel.c
parentb329b32854eca71853ce1e3e06b573c25b262d5f (diff)
downloadlinux-ab51c86a88ba09ec657b1e02aa7824938afb7bd3.tar.xz
drm/i915: vlv does not have pipe field in backlight registers
It has per pipe registers. 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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_panel.c')
-rw-r--r--drivers/gpu/drm/i915/intel_panel.c2
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 e82b2dd93eef..5bd64db9a9bf 100644
--- a/drivers/gpu/drm/i915/intel_panel.c
+++ b/drivers/gpu/drm/i915/intel_panel.c
@@ -788,8 +788,6 @@ static void vlv_enable_backlight(struct intel_connector *connector)
if (tmp & BLM_PWM_ENABLE)
return;
- tmp &= ~BLM_PIPE_SELECT;
- tmp |= BLM_PIPE(pipe);
tmp &= ~BLM_PWM_ENABLE;
I915_WRITE(VLV_BLC_PWM_CTL2(pipe), tmp);