mirror of https://gitee.com/openkylin/linux.git
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:
parent
b329b32854
commit
ab51c86a88
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue