diff options
author | Steven Price <steven.price@arm.com> | 2019-06-27 18:53:17 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-06-29 00:01:21 +0300 |
commit | 220df83a5394fbf7c1486ba7848794b7b351d598 (patch) | |
tree | 71f9fea2ccf207d8615de5803ee31424062b1e0b /include/drm | |
parent | 52500de68fbb0c11403fd8db13aace99e5ef4f40 (diff) | |
download | linux-220df83a5394fbf7c1486ba7848794b7b351d598.tar.xz |
drm/gem: Rename drm_gem_dumb_map_offset() to drm_gem_map_offset()
drm_gem_dumb_map_offset() is a useful helper for non-dumb clients, so
rename it to remove the _dumb and add a comment that it can be used by
shmem clients.
Signed-off-by: Steven Price <steven.price@arm.com>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190627155318.38053-2-steven.price@arm.com
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_gem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index ae693c0666cd..0d6445fa9541 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -401,8 +401,8 @@ int drm_gem_fence_array_add(struct xarray *fence_array, int drm_gem_fence_array_add_implicit(struct xarray *fence_array, struct drm_gem_object *obj, bool write); -int drm_gem_dumb_map_offset(struct drm_file *file, struct drm_device *dev, - u32 handle, u64 *offset); +int drm_gem_map_offset(struct drm_file *file, struct drm_device *dev, + u32 handle, u64 *offset); int drm_gem_dumb_destroy(struct drm_file *file, struct drm_device *dev, uint32_t handle); |