diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2009-12-03 10:31:58 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-12-03 20:30:42 -0500 |
commit | a9b5ff99c34e3f6ca7ad7fa01deba2df1108465e (patch) | |
tree | 59f522d1031d950d511a36dd4f430de92313d6b4 /drivers | |
parent | 7164bb4393cef668d3da281fa1c599a6673ea768 (diff) |
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')
-rw-r--r-- | drivers/video/broadsheetfb.c | 2 | ||||
-rw-r--r-- | drivers/video/hecubafb.c | 2 | ||||
-rw-r--r-- | drivers/video/metronomefb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/broadsheetfb.c b/drivers/video/broadsheetfb.c index 509cb92e8731..df9ccb901d86 100644 --- a/drivers/video/broadsheetfb.c +++ b/drivers/video/broadsheetfb.c | |||
@@ -470,7 +470,7 @@ static int __devinit broadsheetfb_probe(struct platform_device *dev) | |||
470 | par->read_reg = broadsheet_read_reg; | 470 | par->read_reg = broadsheet_read_reg; |
471 | init_waitqueue_head(&par->waitq); | 471 | init_waitqueue_head(&par->waitq); |
472 | 472 | ||
473 | info->flags = FBINFO_FLAG_DEFAULT; | 473 | info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB; |
474 | 474 | ||
475 | info->fbdefio = &broadsheetfb_defio; | 475 | info->fbdefio = &broadsheetfb_defio; |
476 | fb_deferred_io_init(info); | 476 | fb_deferred_io_init(info); |
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) | |||
253 | par->send_command = apollo_send_command; | 253 | par->send_command = apollo_send_command; |
254 | par->send_data = apollo_send_data; | 254 | par->send_data = apollo_send_data; |
255 | 255 | ||
256 | info->flags = FBINFO_FLAG_DEFAULT; | 256 | info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB; |
257 | 257 | ||
258 | info->fbdefio = &hecubafb_defio; | 258 | info->fbdefio = &hecubafb_defio; |
259 | fb_deferred_io_init(info); | 259 | fb_deferred_io_init(info); |
diff --git a/drivers/video/metronomefb.c b/drivers/video/metronomefb.c index df1f757a6161..661bfd20d194 100644 --- a/drivers/video/metronomefb.c +++ b/drivers/video/metronomefb.c | |||
@@ -700,7 +700,7 @@ static int __devinit metronomefb_probe(struct platform_device *dev) | |||
700 | if (retval < 0) | 700 | if (retval < 0) |
701 | goto err_free_irq; | 701 | goto err_free_irq; |
702 | 702 | ||
703 | info->flags = FBINFO_FLAG_DEFAULT; | 703 | info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB; |
704 | 704 | ||
705 | info->fbdefio = &metronomefb_defio; | 705 | info->fbdefio = &metronomefb_defio; |
706 | fb_deferred_io_init(info); | 706 | fb_deferred_io_init(info); |