lkml.org 
[lkml]   [2006]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] Simple userspace interface for PCI drivers
From
Date
Matt Porter <mporter@embeddedalley.com> writes:
>
> What about portable access to the PCI DMA API from userspace?

We'll definitely need this for X11 anyways. Currently it is not
possible to run the standard X server with a IOMMU that isolates
the graphics card because it has no way to get at the GPU MMIO
registers then.

My long-term plan was to integrate it in /sys/bus/pci mmaps
(together with PAT etc.). When you mmap it there the kernel
allocates a DMA mapping and then frees it on unmap.

Then it should hopefully just work.

-Andi
-
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/

\
 
 \ /
  Last update: 2006-08-31 15:53    [from the cache]
©2003-2011 Jasper Spaans