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>
This commit is contained in:
Jani Nikula 2013-11-08 16:48:58 +02:00 committed by Daniel Vetter
parent b329b32854
commit ab51c86a88

View 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);