diff options
author | Keith Packard <[email protected]> | 2011-11-18 11:09:24 -0800 |
---|---|---|
committer | Keith Packard <[email protected]> | 2011-11-23 13:07:13 -0800 |
commit | ca88479c1c3b7b1a9f94320745f5331e1de77f80 (patch) | |
tree | 1704b84389d53be5441a805eb8e5b3ef5346f1be /net/lapb/lapb_subr.c | |
parent | 1a2eb4604b85c5efb343da8a4dcf41288fcfca85 (diff) |
drm/i915: Treat pre-gen4 backlight duty cycle value consistently
For i945 and earlier chips, the backlight frequency value had the low
bit (of 16) fixed to zero. The Pineview code path handled this by just
exposing the backlight range as 15 bits while other chips had the
backlight range limited to 0 .. 0xfffe.
This patch makes everyone take the pineview code path, providing 15
bits of backlight duty cycle range which seems more than sufficient to
me.
Daniel Mack reported that writing 1 to bit 0 of the duty cycle
register was causing problems on his Samsung X20 notebook, even when
the duty cycle value was less than the maximum backlight value. (He
tried a value of 29749 with max_brightness of 29750). This patch never
writes a '1' to that bit.
Signed-off-by: Keith Packard <[email protected]>
Reviewed-by: Takashi Iwai <[email protected]>
Reported-and-tested-by: Daniel Mack <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions