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)
commit9460e84a91451e57ba823037be483ecbfdd9cd44
tree6863ea93e1c5fa51337e20f31a9ede5fa94e4612
parent0c9e98af5e94877ad3b1af2c0f39b2376a462ded
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