diff options
author | Krzysztof Helt <[email protected]> | 2009-03-31 15:25:09 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-04-01 08:59:27 -0700 |
commit | 99a4584752bb41330342a427d014482525de7433 (patch) | |
tree | 5a705f234f5ace69c028578102919394dfc0bf26 /net/lapb/lapb_timer.c | |
parent | 1b48cb563d59e03dbf530174f30c0ed3b6fba513 (diff) |
cirrusfb: check_var improvements
Break cirrusfb_decode_var() function into two parts:
cirrusfb_check_pixclock() which can be called from the
cirrusfb_check_var() aand merge rest into the cirrusfb_set_par_foo().
This allows rejecting modes with too high pixclock before before any
change to hardware state (and a console is messed up).
Also, fix RGB field's lengths for 8bpp modes to correct ones so X11 works
with fbdev driver with cirrusfb.
Kill some redundant function calls or register loads.
Signed-off-by: Krzysztof Helt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions