[PATCH v2 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-04 Thread Rob Clark
On Mon, Jun 3, 2013 at 10:20 PM, Laurent Pinchart wrote: > The drm_gem_mmap() function first finds the GEM object to be mapped > based on the fake mmap offset and then maps the object. Split the object > mapping code into a standalone drm_gem_mmap_obj() function that can be > used to implement dma

Re: [PATCH v2 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-04 Thread Rob Clark
On Mon, Jun 3, 2013 at 10:20 PM, Laurent Pinchart wrote: > The drm_gem_mmap() function first finds the GEM object to be mapped > based on the fake mmap offset and then maps the object. Split the object > mapping code into a standalone drm_gem_mmap_obj() function that can be > used to implement dma

[PATCH v2 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-04 Thread Laurent Pinchart
The drm_gem_mmap() function first finds the GEM object to be mapped based on the fake mmap offset and then maps the object. Split the object mapping code into a standalone drm_gem_mmap_obj() function that can be used to implement dma-buf mmap() operations. Signed-off-by: Laurent Pinchart --- dri

[PATCH v2 1/5] drm/gem: Split drm_gem_mmap() into object search and object mapping

2013-06-03 Thread Laurent Pinchart
The drm_gem_mmap() function first finds the GEM object to be mapped based on the fake mmap offset and then maps the object. Split the object mapping code into a standalone drm_gem_mmap_obj() function that can be used to implement dma-buf mmap() operations. Signed-off-by: Laurent Pinchart --- dri