Li Peng 078a033f45 drm/i915: fix opregion backlight chip detect and range
BLC_PWM_CTL2 is for 965+ only, so add device model check for
legacy backlight control.

For native backlight control, it maps the backlight value (0~255)
in opregion ASLE[BCLP] to backlight duty cycle (0~max_backlight)
and set into control register.

It also add support for IGD device, which follows opregion spec.

Signed-off-by: Li Peng <peng.li@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-17 14:32:08 -07:00
..
2009-08-15 12:58:45 +09:00
2009-08-14 13:09:32 -07:00
2009-08-04 20:31:32 +02:00
2009-09-03 14:59:16 +01:00
2009-09-06 01:41:24 -07:00
2009-08-26 20:06:52 -07:00
2009-08-18 16:31:13 -07:00
2009-07-30 16:03:45 +09:30