]> git.baikalelectronics.ru Git - kernel.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)
commitc434da2d67d10bf75236fe3f254c37123b999bc4
tree27d826636920bfb94e5e26a040978902c81a388b
parent1581fbe90dada3d75c8b80e623260b07dd51571f
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