From: Matevz Langus <matevy@arhitektova-delavnica.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: radeonfb: PLL? problems with radeon 7000 in embedded PPC
Date: Thu, 01 Apr 2004 00:10:04 +0200 [thread overview]
Message-ID: <1080771003.6224.14.camel@localhost.localdomain> (raw)
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/
next reply other threads:[~2004-03-31 22:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 22:10 Matevz Langus [this message]
2004-04-01 3:05 ` radeonfb: PLL? problems with radeon 7000 in embedded PPC Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1080771003.6224.14.camel@localhost.localdomain \
--to=matevy@arhitektova-delavnica.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).