提交 e53f87a0 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

[PATCH] Fix vesafb display panning regression

Fix vesafb hang when scroll mode is REDRAW.
Signed-off-by: NAntonino Daplas <adaplas@pol.net>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f845fbac
...@@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev) ...@@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev)
info->flags = FBINFO_FLAG_DEFAULT | info->flags = FBINFO_FLAG_DEFAULT |
(ypan) ? FBINFO_HWACCEL_YPAN : 0; (ypan) ? FBINFO_HWACCEL_YPAN : 0;
if (!ypan)
info->fbops->fb_pan_display = NULL;
if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) {
err = -ENOMEM; err = -ENOMEM;
goto err; goto err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册