I realized what was causing the oops when trying to access the buffer private struct in the PCI path. The DRM template code for addbufs_pci does __not__ allocate memory for a private structure for the buffers, whereas the template code for addbufs_agp and addbufs_sg does.
I'm not sure if we'll need private buffer data if we're using interrupts rather than buffer aging. I suppose the primitive type would be needed if we move the command placement in vertex buffers to the drm. Does anyone know why the template code omits private structures for PCI DMA buffers? -- Leif Delgass http://www.retinalburn.net