drm/i915: vlv does not have pipe field in backlight registers
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Nov 2013 14:48:58 +0000 (16:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Nov 2013 10:18:45 +0000 (11:18 +0100)
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>
drivers/gpu/drm/i915/intel_panel.c

index e82b2dd93eef08769089681dc7da911d915606bb..5bd64db9a9bf3508ac2e73c57a3fe4bc0fb8527c 100644 (file)
@@ -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);