lkml.org 
[lkml]   [2004]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: [Linux-fbdev-devel] Re: Problem with current fb_get_color_depth function
From
On Wed, Nov 03, 2004 at 06:10:12AM +0800, Antonino A. Daplas wrote:
> After giving it a lot of thought, perhaps you are not booting at 16 bpp, but
> at 8bpp pseudocolor. However, radeonfb's default var use only a red, green,
> and blue length of 6. Try this patch and let me know if it helps.

The patch rejects against 2.6.10-rc1, but re-adapted, it works. Here is the
updated patch for radeon_monitor.c.

Thanks a lot for your help!

and in case this is final,
Signed-off-by: Joshua Kwan <joshk@triplehelix.org>

--
Joshua Kwan

--- a/drivers/video/aty/radeon_monitor.c 2004-11-10 23:38:18.000000000 -0800
+++ b/drivers/video/aty/radeon_monitor.c 2004-11-10 23:38:21.000000000 -0800
@@ -8,7 +8,7 @@

static struct fb_var_screeninfo radeonfb_default_var = {
640, 480, 640, 480, 0, 0, 8, 0,
- {0, 6, 0}, {0, 6, 0}, {0, 6, 0}, {0, 0, 0},
+ {0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0},
0, 0, -1, -1, 0, 39721, 40, 24, 32, 11, 96, 2,
0, FB_VMODE_NONINTERLACED
};[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.064 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site