[R500/Avivo] avivotool patch

Sébastien Le Ray beuss at tuxfamily.org
Mon Jun 25 06:22:19 PDT 2007


Hi,

here is a patch to avoid segfault when only --debug switch is used with
avivotools. I used getopt_long, I don't know if it hurts or not. I also
added an uid check to alert non-root users (who can't get any stats).
Finally I fixed some compilation warnings.

I also saw that some case statements are missing in avivotools, so
almost any card is reported as "Unknown card". I didn't fixed it since
I guess it will be done when integrating other PCI IDs

Is there anything I can do to help you with this driver (I've a
Mobility Radeon X1400).

Regards

Sébastien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avivotool.patch
Type: text/x-patch
Size: 4582 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070625/d56a9361/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20070625/d56a9361/attachment.pgp>


More information about the xorg mailing list