]> git.baikalelectronics.ru Git - kernel.git/commit
gma500: Ensure the frame buffer has a linear virtual mapping
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:34:03 +0000 (15:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:37 +0000 (08:20 -0700)
commit24589fef645f884d142d15b4b4aed6b4181e6767
tree6863ea93e1c5fa51337e20f31a9ede5fa94e4612
parent591e502c43d6a3fe67d9e85a9634dd38cc018244
gma500: Ensure the frame buffer has a linear virtual mapping

We need this for the framebuffer in order to ensure that the kernel
framebuffer layer can handle it when using KMS. Except for the base
framebuffer this isn't a concern.

Add an npage field to the gtt as too many copies of the page calculation
are getting spread around the code.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_fb.c
drivers/staging/gma500/psb_fb.h
drivers/staging/gma500/psb_gtt.c
drivers/staging/gma500/psb_gtt.h