]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Refactor panel backlight controls
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 22 Aug 2010 12:18:16 +0000 (13:18 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:58 +0000 (10:23 +0100)
commit1d0f7a16ff8c718485f556bad622d9eb8f512470
tree9daf28afa9b797b7f51486f4f759de9359b1e1e9
parent517c7ca5783809d7c6a3df05cdf981631674302d
drm/i915: Refactor panel backlight controls

There were two instances of code to control the panel backlight and
neither handled the complete set of device variations.

Fixes:

  Bug 29716 - [GM965] Regression: Backlight resets to minimum when changing resolution
  https://bugs.freedesktop.org/show_bug.cgi?id=29716

And a bug on one of my PineView boxes which overflowed the backlight
value.

Incorporates part of a similar patch by Matthew Garrett that exposes a
native Intel backlight controller.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_opregion.c
drivers/gpu/drm/i915/intel_panel.c