Re: [Intel-gfx] [PATCH] drm/i915: Implement dma-buf mmap() on systems with LLC

2014-03-05 Thread Daniel Vetter
On Mon, Feb 24, 2014 at 07:50:49PM +, Rob Bradford wrote: > From: Rob Bradford > > The LLC check echoes the check made by i915_gem_fault() which will > handle the mapping the pages through the GTT. > > The aim is that this is functionally equivalent to using the > I915_GEM_MMAP_GTT ioctl and

[Intel-gfx] [PATCH] drm/i915: Implement dma-buf mmap() on systems with LLC

2014-02-24 Thread Rob Bradford
From: Rob Bradford The LLC check echoes the check made by i915_gem_fault() which will handle the mapping the pages through the GTT. The aim is that this is functionally equivalent to using the I915_GEM_MMAP_GTT ioctl and then mmaping using the offset returned. Signed-off-by: Rob Bradford ---