From: Laurent Pinchart Date: Tue, 16 Apr 2013 12:14:52 +0000 (+0200) Subject: drm/gem: Split drm_gem_mmap() into object search and object mapping X-Git-Tag: v3.11-rc1~65^2~112^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5aafa6eee2d5712f774676d407e5ab6dae9a1b;p=pandora-kernel.git drm/gem: Split drm_gem_mmap() into object search and object mapping 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 Reviewed-by: Rob Clark --- Reading git-diff-tree failed