Messages in this thread | | | Subject | Re: can device drivers return non-ram via vm_ops->nopage? | From | Benjamin Herrenschmidt <> | Date | Mon, 22 Mar 2004 15:46:52 +1100 |
| |
> Doesn't DRI also suffer from the same issues?
Well, it depends. Most of the time, DRI uses AGP which is a different story altogether.
DRI suffers from similar issue when using PCI GART, but then, it also doesn't use the consistent alloc routines, it gets pages with GFP, mmap those into userland, and does pci_map_single in the kernel on each individual page to obtain the bus addresses. This will not be pretty on non-coherent architectures though.
Ben.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |