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)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 13 Jan 2016 01:29:03 +0000 (10:29 +0900)
commit2d6b2d718018e2328cca4130f00ab324e2b2641c
tree1e6f2e6cc849c9c753245ef6685854ca8e5579a6
parentf9440f837856895d307753463d50643630598c9c
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.

Change-Id: I5dd5b285891debd85f458b66e0f3778d8dcec8d5
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