[PATCH 5/5] drm/vgem: properly implement mmap
Chris Wilson
chris at chris-wilson.co.uk
Wed Feb 8 15:36:22 PST 2012
On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky <ben at bwidawsk.net> wrote:
> Mostly copied from i915 gtt mmaps, this will properly fault in pages as
> the user tries to use them. The only thing of note are that no
> prefaulting occurs, so perhaps some kind of madvise will happen later if
> needed.
What's the goal here? Why not copy the simpler (from the driver
perspective) CPU mmaps? I presume that this will be required for dmabuf
in some form?
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the dri-devel
mailing list