diff options
author | Li Peng <[email protected]> | 2009-09-15 13:03:36 +0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2009-09-17 14:32:08 -0700 |
commit | 078a033f45471c44befd72ccacf3f31d75299dba (patch) | |
tree | dc5b9c868684b28040fdafaeeef57cb6489feb8e /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 8dd81a381e8886129c0923f1fe22ff5ca36ae8da (diff) |
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 <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions