From: David Airlie Date: Wed, 11 Apr 2007 07:25:37 +0000 (+1000) Subject: oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just... X-Git-Tag: android-x86-1.6~141^2~464 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0392badd84ec833ddd9e2b187844d246d860bbf7;p=android-x86%2Fexternal-libdrm.git oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just a bit garbled --- diff --git a/linux-core/drm_fb.c b/linux-core/drm_fb.c index e404642f..30b14188 100644 --- a/linux-core/drm_fb.c +++ b/linux-core/drm_fb.c @@ -66,6 +66,7 @@ static int drmfb_setcolreg(unsigned regno, unsigned red, unsigned green, ((blue & 0xf800) >> 11); break; case 24: + case 32: fb->pseudo_palette[regno] = ((red & 0xff00) << 8) | (green & 0xff00) | ((blue & 0xff00) >> 8);