On Wed, Apr 24, 2002 at 03:24:17PM -0400, Leif Delgass wrote: > I was looking at the code in glint_dri.c to add the page table thinking > that we could set the DRM_RESTRICTED flag for the descriptor table as is > done there. However, in looking at drmAddBufs and the ioctl, the last arg > is the agp_offset for DRM_AGP_BUFFER and is unused for PCI, so passing > DRM_RESTRICTED in the last arg to drmAddBufs is just wrong. AFAICT, you > only use DRM_RESTRICTED with drmAddMap. Am I missing something or does > the glint/gamma driver have a problem here? > It's wrong. I've not committed some patches yet for this, but we alloc kernel memory for the page table without doing it this way now.
Alan. _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel