Skip to content

Commit

Permalink
fb-defio: Inhibit VM_IO flag to be set on vmalloc-ed framebuffers.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Konrad Rzeszutek Wilk authored and Jeremy Fitzhardinge committed Dec 4, 2009
1 parent 7164bb4 commit a9b5ff9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/video/broadsheetfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static int __devinit broadsheetfb_probe(struct platform_device *dev)
par->read_reg = broadsheet_read_reg;
init_waitqueue_head(&par->waitq);

info->flags = FBINFO_FLAG_DEFAULT;
info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB;

info->fbdefio = &broadsheetfb_defio;
fb_deferred_io_init(info);
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/hecubafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/metronomefb.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ static int __devinit metronomefb_probe(struct platform_device *dev)
if (retval < 0)
goto err_free_irq;

info->flags = FBINFO_FLAG_DEFAULT;
info->flags = FBINFO_FLAG_DEFAULT | FBINFO_VIRTFB;

info->fbdefio = &metronomefb_defio;
fb_deferred_io_init(info);
Expand Down

0 comments on commit a9b5ff9

Please sign in to comment.