projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f845fba
)
[PATCH] Fix vesafb display panning regression
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 10 Jan 2006 04:53:18 +0000
(20:53 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:47 +0000
(08:01 -0800)
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>
drivers/video/vesafb.c
patch
|
blob
|
history
diff --git
a/drivers/video/vesafb.c
b/drivers/video/vesafb.c
index
e6e56b8
..
8982e54
100644
(file)
--- 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;