[Intel-gfx] [PATCH 10/11] CHROMIUM: drm/i915/vlv: Fix BLM_PWM_ENABLE check in pwm invariant
clinton.a.taylor at intel.com
clinton.a.taylor at intel.com
Wed Jul 16 23:49:46 CEST 2014
From: Kevin Strasser <kevin.strasser at intel.com>
Misplaced paren causing test to always fail.
BUG=chrome-os-partner:27096,chrome-os-partner:28914
TEST=Manual: Check that the screen immediately goes black at
minimum brightness.
Change-Id: If9d813ab4ef8cfd9c90f2183f1bb674172bdffe9
Signed-off-by: Kevin Strasser <kevin.strasser at intel.com>
Reviewed-on: https://chromium-review.googlesource.com/200809
Reviewed-by: Stéphane Marchesin <marcheu at chromium.org>
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
drivers/gpu/drm/i915/intel_dp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index f9becf8..3382459 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -377,7 +377,7 @@ static void assert_pwm(struct drm_i915_private *dev_priv,
bool state;
if (IS_VALLEYVIEW(dev_priv->dev) &&
- !(I915_READ(VLV_BLC_PWM_CTL2(pipe) & BLM_PWM_ENABLE)))
+ !(I915_READ(VLV_BLC_PWM_CTL2(pipe)) & BLM_PWM_ENABLE))
state = false;
else
state = (intel_panel_get_backlight(connector) != 0);
--
1.7.9.5
More information about the Intel-gfx
mailing list