[Intel-gfx] [PATCH 06/13] drm/i915: vlv does not have pipe field in backlight registers

Imre Deak imre.deak at intel.com
Tue Nov 12 23:00:56 CET 2013


On Fri, 2013-11-08 at 16:48 +0200, Jani Nikula wrote:
> It has per pipe registers.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Reviewed-by: Imre Deak <imre.deak at intel.com>

> ---
>  drivers/gpu/drm/i915/intel_panel.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c
> index e82b2dd..5bd64db 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);





More information about the Intel-gfx mailing list