From: Antonino A. Daplas Date: Tue, 10 Jan 2006 04:53:18 +0000 (-0800) Subject: [PATCH] Fix vesafb display panning regression X-Git-Tag: v2.6.16-rc1~539 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e53f87a02a0d77c519fb93c7aa0912956294050c;p=linux-2.6 [PATCH] Fix vesafb display panning regression Fix vesafb hang when scroll mode is REDRAW. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index e6e56b8df2..8982e54021 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c @@ -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;