Thread (7 messages) 7 messages, 3 authors, 2004-11-11

Re: [Linux-fbdev-devel] Re: Problem with current fb_get_color_depth function

flat view

From: Joshua Kwan <hidden>
Date: 2004-11-11 08:28:19
Also in: lkml

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 <redacted>

-- 
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
 };

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help