]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cirrusfb: check_par fixes
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Tue, 2 Sep 2008 21:35:51 +0000 (14:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 3 Sep 2008 02:21:38 +0000 (19:21 -0700)
commit09a2910e54646f7a334702fbafa7a6129dc072e6
tree27d826636920bfb94e5e26a040978902c81a388b
parent950bbabb5a804690a0201190de5c22837f72f83f
cirrusfb: check_par fixes

1. Check if virtual resolution fits into memory.
   Otherwise, Linux hangs during panning.
2. When selected use all available memory to
    maximize yres_virtual to speed up panning
   (previously also xres_virtual was increased).
3. Simplify memory restriction calculations.

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>
drivers/video/cirrusfb.c