[PATCH v3 2/5] drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap

2013-06-07 Thread Laurent Pinchart
The dma-buf mmap code was copied from the GEM mmap implementation. Replace it with the new drm_gem_mmap_obj() function. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 32 +++ 1 file changed, 3 insertions(+), 29

[PATCH v3 2/5] drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap

2013-06-07 Thread Laurent Pinchart
The dma-buf mmap code was copied from the GEM mmap implementation. Replace it with the new drm_gem_mmap_obj() function. Signed-off-by: Laurent Pinchart Reviewed-by: Rob Clark --- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 32 +++ 1 file changed, 3 insertions(+), 29