From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <19990709095001.M822@radicalmedia.com> Date: Fri, 9 Jul 1999 09:50:01 -0400 From: Mark Abene To: Tom Rini Cc: linuxppc-dev@lists.linuxppc.org Subject: Re: platinum video makes me cry... References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=L2Brqb15TUChFOBK In-Reply-To: ; from Tom Rini on Fri, Jul 09, 1999 at 09:32:52AM -0400 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: --L2Brqb15TUChFOBK Content-Type: text/plain; charset=us-ascii I'll attach the "current" platinumfb.c file in its entirety. Although I've just been informed (and I've verified) that 32bpp doesn't work. I didn't originally notice because I normally use vmode 20 16, and hadn't checked 32bpp. So the changes only fix 16bpp (8 still works as before). I'm looking into why 32bpp doesn't work. I'm still irritated at how much abstraction was done to make the driver "FBDev-aware". It was so much simpler in 2.1.24, when ALL recognized modes worked in ALL available bit-depths. Now I'm playing catch-up since I was previously much too busy to know what was going on with newer kernels and FBDev. Ugh. -Mark --L2Brqb15TUChFOBK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="platinumfb.c" /* * platinumfb.c -- frame buffer device for the PowerMac 'platinum' display * * Copyright (C) 1998 Franz Sirl * * Frame buffer structure from: * drivers/video/controlfb.c -- frame buffer device for * Apple 'control' display chip. * Copyright (C) 1998 Dan Jacobowitz * * Hardware information from: * platinum.c: Console support for PowerMac "platinum" display adaptor. * Copyright (C) 1996 Paul Mackerras and Mark Abene * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef CONFIG_FB_COMPAT_XPMAC #include #endif #include #include #include #include #include