[PATCH] FB: Ensure S3C2410 framebuffer clears initial memory to black
From: Ben Dooks <ben-linux@fluff.org>
Date: 2007-11-19 18:07:40
From: Ben Dooks <ben-linux@fluff.org>
Date: 2007-11-19 18:07:40
Change the initial pattern in the s3c2410 framebuffer driver to black. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Index: linux-2.6.24-rc3-fb1/drivers/video/s3c2410fb.c ===================================================================
--- linux-2.6.24-rc3-fb1.orig/drivers/video/s3c2410fb.c
+++ linux-2.6.24-rc3-fb1/drivers/video/s3c2410fb.c@@ -672,7 +672,7 @@ static int __init s3c2410fb_map_video_me /* prevent initial garbage on screen */ dprintk("map_video_memory: clear %p:%08x\n", info->screen_base, map_size); - memset(info->screen_base, 0xf0, map_size); + memset(info->screen_base, 0x00, map_size); info->fix.smem_start = map_dma;
--
Ben (ben@fluff.org, http://www.fluff.org/)
'a smiley only costs 4 bytes'
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/