On 3/12/07, Daniel Stone <[EMAIL PROTECTED]> wrote:

On Mon, Mar 12, 2007 at 09:35:43AM -0400, Phillip Ezolt wrote:
> So, if you compare the first and last column, you can see the equation
is:
> address in table = (bus_address & 0xc);
>
> I modified the gart code to allocate a table in RAM, and to write the
> addresses as you see above.
> Unfortunately, my cp STILL doesn't seem to work (I can't write to a
scratch
> register and read it back..).
>
> I'm gonna run my kernel module on my hacked radeon driver, so that I am
sure
> that what is written into the GART table matches the physical addresses
of
> the ring buffer.  (ie, I am writing the commands where the card is
reading
> them.)
>
> That's for tonight. (I hope.)

Maybe it's something to do with the & -- you might be more successful
with 'bus_address | 0xc'. ;)


Doh.  That's actually a typo in the email.  My code has the 'bus_address |
0xc'.

Cheers,
--Phil

Cheers,
Daniel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to