On 4/23/07, Phillip Ezolt <[EMAIL PROTECTED]> wrote: > Awesome. > > As an aside, I would really like to make it easier for other people to > hack on radeon & X. > I've been fighting with my Radeon 200M for months, hacking when I have > spare time.
I think we have similar goals here. I'm doing this to hopefully make reverse engineering a bit easier, and also to improve my knowledge of Radeon and R300. I haven't yet tried my tool on R500 or above because I don't have an R500 card yet... I'll probably end up waiting for the work that Jerome Glisse et al are doing on R500 to become public. I think my tool should work there, too. > I just started reading the X code about 6 months ago, and the learning > curve has been steep. My emails to dri-devel are answered now and > again, and that is kinda frustrating when you want an answer NOW. > > Dave eventually got the RS480 working, (which is great, but > frustrating that I couldn't have the rush... ;-) ) Heh. That's always fun. :) > Anyway, I've been thinking about documenting what I've learning (so > that it is easier for other people.) > > Here are my ideas for topics: > 0) How the radeon card is laid out. > 1) Document how the radeon chipset works. (At least as much as I know..) > 2) Document how DRM/DRI/X actually interacts with this. > 3) How to troubleshoot a problem. (Such as reverse engineering the GART) > 4) A reverse engineering stragegy for radeon people. > > If I slap something up, would you mind looking it over/fixing/correcting it? Absolutely. I'm not an expert, but I can do my best. :) I'm sure that I could get some of the more experienced people to look over it, too. I guess this should probably be done on the Freedesktop Wiki. I could help on the ring buffer and indirect buffer packet format; I think I have a pretty good handle on this now. I intend to look into the vert/frag prog stuff, too, but I haven't done this yet. > > Cheers, > --Phil > > Example: > ./bitfield ati_regs.example I think that rules-ng is a better solution for me anyway. You can read about it at http://nouveau.cvs.sourceforge.net/nouveau/rules-ng/. I just have to integrate it into my tool. Pekka Paalanen already modified mmio-parse to add support for rules-ng, so I'll probably look at this for ideas. By the way, you should probably CC dri-devel too. I'm forwarding my replies dri-devel but you're just sending your emails directly to me. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel