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

Jani Nikula jani.nikula at intel.com
Fri Nov 8 15:48:58 CET 2013


It has per pipe registers.

Signed-off-by: Jani Nikula <jani.nikula 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);
-- 
1.7.10.4




More information about the Intel-gfx mailing list