Sam Ravnborg wrote:
On Thu, Aug 19, 2004 at 03:26:07PM -0700, Erdi Chen wrote:

This patch adds two new ioctl's to the VIA Unichrome/Pro DRM driver:
        DRM_IOCTL_VIA_DMA_INIT
        DRM_IOCTL_VIA_CMDBUFFER

The first call sets up an area in AGP memory that will be used as the ring buffer. The second call copies a command buffer from user space memory to the ring buffer.


A few comments to the coding style - nothing to the functionality.
[inlining your patch would make it soo much easier to review and comment]

1) Defines are mixed casisng. Usual style is upper case only except if
casing match definitions in datasheet.

I have no problem at all with the use of mixed case in register defines. This file looks like it is a drop from a third party and was probably autogenerated from a register database. I'd prefer not to subject it to hand-reformatting.


Keith


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to