]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14bd8e74f1e917bfc4e2772913f9bc92d0950221
tree5dd8085759ce09104cadb62b07d14d76c1896b33
parentb416db0c487932493fe087200127890cbb536731
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