summaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia
diff options
context:
space:
mode:
authorJames Simmons <jsimmons@pentafluge.infradead.org>2005-06-22 02:17:08 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 04:07:42 +0200
commit58a606431a704b5c240c1429a5526fac81c9800a (patch)
tree42299e741ce03b4f30448eb6d2cc1f2ce10d0b5a /drivers/video/nvidia
parent[PATCH] fbdev: stack reduction (diff)
downloadlinux-58a606431a704b5c240c1429a5526fac81c9800a.tar.xz
linux-58a606431a704b5c240c1429a5526fac81c9800a.zip
[PATCH] fbdev: fill in the access_align field.
Several drivers miss filling in the access_align field. So this patch has them fill it in. Signed-off-by: James Simmons <jsimmons@www.infradead.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/nvidia')
-rw-r--r--drivers/video/nvidia/nvidia.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 266ff5d7ac36..b2e6b2407869 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1345,6 +1345,7 @@ static int __devinit nvidia_set_fbinfo(struct fb_info *info)
info->pixmap.scan_align = 4;
info->pixmap.buf_align = 4;
+ info->pixmap.access_align = 32;
info->pixmap.size = 8 * 1024;
info->pixmap.flags = FB_PIXMAP_SYSTEM;