* radeonfb: PLL? problems with radeon 7000 in embedded PPC
@ 2004-03-31 22:10 Matevz Langus
2004-04-01 3:05 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Matevz Langus @ 2004-03-31 22:10 UTC (permalink / raw)
To: linuxppc-dev
Hi everybody,
I am new in graphics in PPC and would like to ask if somebody can help
me.
I have a PPC (e500) embedded system with PCI bus and ATI Radeon 7000
with 64 MB DDR. PCI detects the card and opens all memory spaces as it
should.
However I have 2 problems:
- radeonfb driver detects SDRAM instead of DDR and also size is not
correct 192xxx kB instead of 64 MB.
- in function radeon_write_pll_regs system hangs in
while ((INPLL(PPLL_REF_DIV) & PPLL_REF_DIV_MASK) !=
(mode->ppll_ref_div & PPLL_REF_DIV_MASK)) {
OUTPLLP(PPLL_REF_DIV, mode->ppll_ref_div, ~PPLL_REF_DIV_MASK);
}
It loops in this while for ever.
Is the reason for this problem in PLL not locking?
I have seen that settings for PLL can be obtained from OF or BIOS. I
don't have anything like this in my embedded system.
How can I calculate appropriate values for PLL? Default ones are
obviously not correct.
Has anybody managed to use this card in embedded system without BIOS or
OF?
thanks,
Matevz Langus
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: radeonfb: PLL? problems with radeon 7000 in embedded PPC
2004-03-31 22:10 radeonfb: PLL? problems with radeon 7000 in embedded PPC Matevz Langus
@ 2004-04-01 3:05 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2004-04-01 3:05 UTC (permalink / raw)
To: Matevz Langus; +Cc: linuxppc-dev list
On Thu, 2004-04-01 at 08:10, Matevz Langus wrote:
> Has anybody managed to use this card in embedded system without BIOS or
> OF?
You cannot use such a card if it has not been properly initialized
by the firmware first. One solution is to use an x86 emulator to
run the x86 BIOS. If you are building embedded applications with
on board chipsets, ATI would probably have provided you with the
necessary init code.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-01 3:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-31 22:10 radeonfb: PLL? problems with radeon 7000 in embedded PPC Matevz Langus
2004-04-01 3:05 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).