From: Jonathan Corbet Date: Fri, 23 Apr 2010 16:31:13 +0000 (-0600) Subject: viafb: Reserve framebuffer memory for the upcoming camera driver X-Git-Tag: v2.6.35-rc1~475^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2b12cd496bbe5eff6a48bc669fe6b0c56f2b3d9;p=pandora-kernel.git viafb: Reserve framebuffer memory for the upcoming camera driver The camera engine captures to framebuffer memory, so we need to set some aside for that purpose. There is no proper memory allocator for fbmem; instead, accel.c just trims some space off the top. Alas, without creating that proper memory allocator, the only way to make this work is to hack it into the same bit of code in accel.c. The allocation must happen *after* the others (some code, including user-space XV stuff, makes assumptions on where the cursor space is), and before the rest of the framebuffer is set up. Cc: ScottFang@viatech.com.cn Cc: JosephChan@via.com.tw Cc: Harald Welte Acked-by: Florian Tobias Schandinat Signed-off-by: Jonathan Corbet --- Reading git-diff-tree failed