drm/i915: Fix legacy BLC event for pipe A
authorZhao Yakui <yakui.zhao@intel.com>
Wed, 7 Apr 2010 09:11:21 +0000 (17:11 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 12 Apr 2010 16:23:37 +0000 (09:23 -0700)
commitedcb49ca34e38123675f83994d743d3d6ff772d9
tree5dd8085759ce09104cadb62b07d14d76c1896b33
parentd275f6614e160fa71d6e2201eb34c9b41fd8473c
drm/i915: Fix legacy BLC event for pipe A

OpRegion event on 965G requires legacy BLC event enabled in pipe stat. As LVDS
could be on either pipe now, we should enable BLC event on both pipe. If fail to
do so, we couldn't handle the brightness request triggered from graphics
opregion.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_irq.c