summaryrefslogtreecommitdiffstats
path: root/include/video/cirrus.h
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2009-03-31 15:25:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 08:59:27 -0700
commit48c329e906f834711906ab4b0986ea0e857aff16 (patch)
tree37ba1eb85da5b884ee206b2c4f30b07e782f9798 /include/video/cirrus.h
parentc4dec3962d6bff26010fcfc61500c1241469a6e0 (diff)
downloadlinux-48c329e906f834711906ab4b0986ea0e857aff16.tar.gz
linux-48c329e906f834711906ab4b0986ea0e857aff16.tar.bz2
linux-48c329e906f834711906ab4b0986ea0e857aff16.zip
cirrusfb: various improvements
Various improvements to the code: - kill a structure with only one field: multiplexing and use the field directly - move the cirrusfb_ops structure down the file to kill forward declarations - move cirrusfb_init() to kill forward declaration - kill register loads done already in the init_vgachip() - kill assigments done by higher layer in the cirrusfb_pan_display() - do not overwrite line pitch bit in the CL_CRT1D register - kill btype variables if they were used only once or twice - add cpu_relax() in the busy waiting loop The fix to the CL_CRT1D register handling makess the 1024x768 32bpp mode work. Previously, only lower resolution modes have worked with 32bpp. Signed-off-by: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video/cirrus.h')
0 files changed, 0 insertions, 0 deletions