summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gma500/psb_fb.h
diff options
context:
space:
mode:
authorAlan Cox2011-07-05 16:34:03 +0200
committerGreg Kroah-Hartman2011-07-05 17:20:37 +0200
commit9460e84a91451e57ba823037be483ecbfdd9cd44 (patch)
tree6863ea93e1c5fa51337e20f31a9ede5fa94e4612 /drivers/staging/gma500/psb_fb.h
parentMerge Linux 3.0-rc6 into staging-next (diff)
downloadkernel-qcow2-linux-9460e84a91451e57ba823037be483ecbfdd9cd44.tar.gz
kernel-qcow2-linux-9460e84a91451e57ba823037be483ecbfdd9cd44.tar.xz
kernel-qcow2-linux-9460e84a91451e57ba823037be483ecbfdd9cd44.zip
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>
Diffstat (limited to 'drivers/staging/gma500/psb_fb.h')
-rw-r--r--drivers/staging/gma500/psb_fb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/gma500/psb_fb.h b/drivers/staging/gma500/psb_fb.h
index c8ec0d6febb1..2153c74a8c5a 100644
--- a/drivers/staging/gma500/psb_fb.h
+++ b/drivers/staging/gma500/psb_fb.h
@@ -33,6 +33,7 @@ struct psb_framebuffer {
struct address_space *addr_space;
struct fb_info *fbdev;
struct gtt_range *gtt;
+ bool vm_map; /* True if we must undo a vm_map_ram */
};
struct psb_fbdev {