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'. ;) Cheers, Daniel
signature.asc
Description: Digital signature
------------------------------------------------------------------------- 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