[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-14 Thread Dave Airlie
On Tue, Feb 14, 2012 at 2:18 AM, Eric Anholt wrote: > On Thu, ?9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-13 Thread Dave Airlie
On Tue, Feb 14, 2012 at 2:18 AM, Eric Anholt wrote: > On Thu,  9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-13 Thread Eric Anholt
On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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. > > The only othe

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-13 Thread Eric Anholt
On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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. > > The only othe

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Daniel Vetter
On Wed, Feb 08, 2012 at 11:36:22PM +, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
On 02/09/2012 12:36 AM, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Daniel Vetter
On Wed, Feb 08, 2012 at 11:36:22PM +, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
On 02/09/2012 12:36 AM, Chris Wilson wrote: > On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-09 Thread Ben Widawsky
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. The only other thing missing right not is shrinker support, which will come next a

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-08 Thread Chris Wilson
On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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 h

Re: [PATCH 5/5] drm/vgem: properly implement mmap

2012-02-08 Thread Chris Wilson
On Thu, 9 Feb 2012 00:19:31 +0100, Ben Widawsky 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 h

[PATCH 5/5] drm/vgem: properly implement mmap

2012-02-08 Thread Ben Widawsky
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. The only other thing missing right not is shrinker support, which will come next a