From: Alan Cox Date: Wed, 13 Apr 2011 09:37:03 +0000 (+0100) Subject: gma500: Add a gtt allocator X-Git-Tag: v3.0-rc1~336^2~698 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d9c134c6e53e27f37ae3167e25190885586e538;p=pandora-kernel.git gma500: Add a gtt allocator At the moment we don't do any page backing for the GTT so only the stolen area pages will actually work. That is fine for our initial framebuffer and a bit of testing but will need resolution (including alternate mmap methods and the like for s/g areas) eventually. Rather than use some of the overcomplex stuff in the DRM we use the existing Linux resource allocators to hand out framebuffers and the like. This also has the nice result that /proc/iomem shows the allocations. Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed