drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 16 Apr 2013 12:21:23 +0000 (14:21 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 8 Jun 2013 07:14:04 +0000 (09:14 +0200)
commitbda3fdaa0f43fc7faaf07b4fc4f2bc4daea12451
tree182799500446f3c2522439820da8d961b3901eda
parent1c5aafa6eee2d5712f774676d407e5ab6dae9a1b
drm/omap: Use drm_gem_mmap_obj() to implement dma-buf mmap

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 <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c