From: Krzysztof Helt Date: Tue, 2 Sep 2008 21:35:51 +0000 (-0700) Subject: cirrusfb: check_par fixes X-Git-Tag: v2.6.27-rc6~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09a2910e54646f7a334702fbafa7a6129dc072e6;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed