summaryrefslogtreecommitdiffstats
path: root/drivers/video/hecubafb.c
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk2009-12-03 16:31:58 +0100
committerJeremy Fitzhardinge2009-12-04 02:30:42 +0100
commita9b5ff99c34e3f6ca7ad7fa01deba2df1108465e (patch)
tree59f522d1031d950d511a36dd4f430de92313d6b4 /drivers/video/hecubafb.c
parentfb-defio: If FBINFO_VIRTFB is defined, do not set VM_IO flag. (diff)
downloadkernel-qcow2-linux-a9b5ff99c34e3f6ca7ad7fa01deba2df1108465e.tar.gz
kernel-qcow2-linux-a9b5ff99c34e3f6ca7ad7fa01deba2df1108465e.tar.xz
kernel-qcow2-linux-a9b5ff99c34e3f6ca7ad7fa01deba2df1108465e.zip
fb-defio: Inhibit VM_IO flag to be set on vmalloc-ed framebuffers.
The framebuffers (screenbase) these drivers present are actually vmalloc-ed pages. There is no need for them to have the VM_IO flag set. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Acked-by: Jaya Kumar <jayakumar.lkml@gmail.com>
Diffstat (limited to 'drivers/video/hecubafb.c')
-rw-r--r--drivers/video/hecubafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/hecubafb.c b/drivers/video/hecubafb.c
index 0b4bffbe67c8..f9d77adf035d 100644
--- a/drivers/video/hecubafb.c
+++ b/drivers/video/hecubafb.c
@@ -253,7 +253,7 @@ static int __devinit hecubafb_probe(struct platform_device *dev)
par->send_command = apollo_send_command;
par->send_data = apollo_send_data;
- info->flags = FBINFO_FLAG_DEFAULT;
+ info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB;
info->fbdefio = &hecubafb_defio;
fb_deferred_io_init(info);