Re: Atyfb questions and issues

From: Daniël Mantione
Date: Mon Aug 15 2005 - 16:16:14 EST




Op Mon, 15 Aug 2005, schreef Jim Ramsay:

> On 8/15/05, yhlu <yhlu.kernel@xxxxxxxxx> wrote:
> > last year some time, I have manually the patch from 2.4 to 2.6. my
> > patch result is the same as 2.4. It only works when bios doesn't do
> > the init. Then if the BIOS do the init, it will hang there. I assume
> > something only can be done once.
>
> That is exactly what I did in my proposed patch, attached earlier.
>
> I noticed the same problem.
>
> Does anyone out there know how you can tell if the RageXL chip has
> already been initialized?
>
> One test I have that works on my hardware is to test the STAT0
> register. If it ends with 0x95, the chip has not been initialized,
> otherwise I initialize it.

Perhaps you can check if the oscillators are enabled. If the chip is being
clocked for DLLCLK and that kind of clocks, the internal clock synthesizer
is most likely not yet programmed to generate usefull clock signals and I
would expect its oscillator to be switched off.

Daniël

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/