aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbmem.c')
-rw-r--r--drivers/video/fbmem.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/fbmem.c b/drivers/video/fbmem.c
index 7b72841222df..c4ce3e44327e 100644
--- a/drivers/video/fbmem.c
+++ b/drivers/video/fbmem.c
@@ -1321,6 +1321,12 @@ register_framebuffer(struct fb_info *fb_info)
1321 } 1321 }
1322 fb_info->pixmap.offset = 0; 1322 fb_info->pixmap.offset = 0;
1323 1323
1324 if (!fb_info->pixmap.blit_x)
1325 fb_info->pixmap.blit_x = ~(u32)0;
1326
1327 if (!fb_info->pixmap.blit_y)
1328 fb_info->pixmap.blit_y = ~(u32)0;
1329
1324 if (!fb_info->modelist.prev || !fb_info->modelist.next) 1330 if (!fb_info->modelist.prev || !fb_info->modelist.next)
1325 INIT_LIST_HEAD(&fb_info->modelist); 1331 INIT_LIST_HEAD(&fb_info->modelist);
1326 1332