Commit 58b628f9 authored by Rob Clark's avatar Rob Clark Committed by Nicolas Dechesne
Browse files

drm/gem: add drm_gem_create_mmap_offset_size()



Variant of drm_gem_create_mmap_offset() which doesn't make the
assumption that virtual size and physical size (obj->size) are the same.
This is needed in omapdrm to deal with tiled buffers.  And lets us get
rid of a duplicated and slightly modified version of
drm_gem_create_mmap_offset() in omapdrm.

Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent bcef1133
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment