Dave,
On 2/21/07, Dave Airlie <[EMAIL PROTECTED]> wrote:
Can you dump that memory area? see if it has a GART table in it.. GART
tables usually are fairly easy to spot lots of page pointers..
Ok. More digging.
It looks like the area from 0xCFFE0000 - 0xCFFFFFFF is not the GART table.
(./mmapr /dev/mem 0xCFFE0000 131072 | xxd -g4 )
Is see this:
0000000: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
0000010: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
0000020: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
0000030: a5a5a5a5 a5a5a587 a5a5a5a5 a5a5a5a5 ................
0000040: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
0000050: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
0000060: a5a5a5a5 a5a5a5a5 a5a5a5a5 a5a5a5a5 ................
However, if I look at the area that the writes to 16C revealed, I get
something that looks like a GART table:
(Using: mmapr /dev/mem 0x34b60000 131072 | xxd -g4 > gart_table)
0000000: 001031f1 002031f1 003031f1 004031f1 ..1.. [EMAIL PROTECTED]
0000010: 005031f1 006031f1 007031f1 008031f1 .P1..`1..p1...1.
0000020: 009031f1 00a031f1 00b031f1 00c031f1 ..1...1...1...1.
0000030: 00d031f1 00e031f1 00f031f1 000032f1 ..1...1...1...2.
...
0000200: 00000000 00000000 00000000 00000000 ................
0000210: 00000000 00000000 00000000 00000000 ................
However, look at how short it is? There are only 32*4 entries... That can't
possibly be the whole thing... Maybe there are more entries somewhere else?
Of this indirectly maps something else?
Also, the accesses to 0x168/0x16C seem to have the following pattern:
1) Write to 0x168 (setup the index) (Where 0x100 indicates a write..)
2) Read/Write to/from 0x16C
3) Write 7f to 0x168 (Maybe a commit or something?)
--Phil
-------------------------------------------------------------------------
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