summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva
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/riva
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/riva')
-rw-r--r--drivers/video/riva/fbdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index 7540f60af948..6a9e183be41b 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -1723,6 +1723,7 @@ static int __devinit riva_set_fbinfo(struct fb_info *info)
info->pixmap.size = 8 * 1024;
info->pixmap.buf_align = 4;
+ info->pixmap.access_align = 32;
info->pixmap.flags = FB_PIXMAP_SYSTEM;
info->var.yres_virtual = -1;
NVTRACE_LEAVE();