The drmCommandRead and friends are a wrapper for ioctl. I think the idea was that they were for portability, but I can't remember. Note that the numbering of the commands for drmCommand* are different from the ioctl numbers (subtract 0x40 iirc) -- look at the <card>.h in the DRM and the <card>_common.h in the 2d driver.
Should i use drmCommand* instead of ioctl? If so, do i need to change the numbering on <card>_common.h ?
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Rafael Máximo
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel