Skip to contentSkip to conversation

uvesafb: use VISUAL_TRUECOLOR as the default visual

PATCH New Antonino A. Daplas 1 participant 1 message Aug 13, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 20/22 uvesafb: use VISUAL_TRUECOLOR as the default visual

From: Michal Januszewski <[email protected]>

Set uvesafb's default visual to truecolor. This prevents fbcon from being detected as 'mono' when using uvesafb.

---

 drivers/video/uvesafb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/video/uvesafb.c +1 -0
index e480670..2f1e5af 100644
@@ -37,6 +37,7 @@ static struct fb_fix_screeninfo uvesafb_
 	.id	= "VESA VGA",
 	.type	= FB_TYPE_PACKED_PIXELS,
 	.accel	= FB_ACCEL_NONE,
+	.visual = FB_VISUAL_TRUECOLOR,
 };
 
 static int mtrr		__devinitdata = 3; /* enable mtrr by default */

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/