aty128fb and EDID

Kevin B. Hendricks kevin.hendricks at sympatico.ca
Mon Feb 10 23:36:09 EST 2003


Hi,

When I contribuited it originally, I did not know that I should have made
it generic.

It is simply one small routine, it could be duplicated easily as a first
step.

Kevin

On February 10, 2003 04:35, Geert Uytterhoeven wrote:
> On Sun, 9 Feb 2003, Kevin B. Hendricks wrote:
> > Steal the code from the radeon dirver in the kernel.  It finds and
> > parses the EDID block in OF for ppc linux systems for LCD.
>
> I guess you actually meant:
> | Move the code out of the radeon driver and make it sufficiently
> | generic so it can be used by the aty128 and other drivers?
> |
> > It works fine with my 17 in lcd display.
> >
> > Kevin
> >
> > On February 9, 2003 06:26, Magnus Damm wrote:
> > > Hi,
> > >
> > > I recently bought a Cube G4 and got a 17" Apple Studio Display (CRT,
> > > ADC) with it. However, that combination seems hard to use out of the
> > > box if you want to use something else than the open firmware
> > > framebuffer.
> > >
> > > The thing is that the monitor only supports two modes:
> > > 1600x1200 64Hz
> > > 1280x1024 75Hz
> > >
> > > This gives me no picture at all when I try to use the aty128 driver.
> > >
> > > However, when I hardcode this video mode as default things work out
> > > ok: /* default modedb mode */
> > > /* 1600x1200, 64Hz, Non-Interlaced */
> > > static struct fb_videomode defaultmode __initdata = {
> > >         refresh:        64,
> > >         xres:           1600,
> > >         yres:           1200,
> > >         pixclock:       5952,
> > >         left_margin:    304,
> > >         right_margin:   24,
> > >         upper_margin:   38,
> > >         lower_margin:   1,
> > >         hsync_len:      184,
> > >         vsync_len:      3,
> > >         sync:           3,
> > >         vmode:          FB_VMODE_NONINTERLACED
> > > };
> > >
> > > The information above was built from my EDID file.
> > >
> > > To create some kind of generic solution I need to add EDID support
> > > to the aty128 driver, or even better - a generic framebuffer layer.
> > >
> > > My question to you is:
> > > All probing that is done by checking if "machine_is_compatible()",
> > > could that all be replaced by EDID code?
> > >
> > > If you could send me your EDID files with together with information
> > > about your machine and monitor I would be really happy. Then I could
> > > parse them and see if they contain enough information. If you don't
> > > find any EDID file then I would be glad to know that too.
> > >
> > > These machines are extra interesting:
> > > * PowerMac2,1 first r128 iMacs
> > > * PowerMac2,2 summer 2000 iMacs
> > > * PowerMac4,1 january 2001 iMacs "flower power"
> > > * iBook SE
> > > * PowerBook Firewire (Pismo), iBook Dual USB
> > > * PowerBook Titanium
> > >
> > > I find my EDID file in /proc/device-tree/pci/ATY,Rage128Pd at 10/EDID
>
> Gr{oetje,eeting}s,
>
> 						Geert


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list