Skip to content

Commit

Permalink
[PATCH] Fix vesafb display panning regression
Browse files Browse the repository at this point in the history
Fix vesafb hang when scroll mode is REDRAW.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Jan 10, 2006
1 parent f845fba commit e53f87a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/vesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev)
info->flags = FBINFO_FLAG_DEFAULT |
(ypan) ? FBINFO_HWACCEL_YPAN : 0;

if (!ypan)
info->fbops->fb_pan_display = NULL;

if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) {
err = -ENOMEM;
goto err;
Expand Down

0 comments on commit e53f87a

Please sign in to comment.