Messages in this thread Patch in this message | | | Date | Thu, 11 Nov 2004 00:27:55 -0800 | Subject | Re: [Linux-fbdev-devel] Re: Problem with current fb_get_color_depth function | From | (Joshua Kwan) |
| |
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] | |