diff options
author | 2019-06-27 16:53:17 +0100 | |
---|---|---|
committer | 2019-06-28 15:01:21 -0600 | |
commit | 220df83a5394fbf7c1486ba7848794b7b351d598 (patch) | |
tree | 71f9fea2ccf207d8615de5803ee31424062b1e0b /include/drm/drm_gem.h | |
parent | drm/vmwgfx: Don't look at state->allow_modeset (diff) | |
download | linux-220df83a5394fbf7c1486ba7848794b7b351d598.tar.gz linux-220df83a5394fbf7c1486ba7848794b7b351d598.tar.bz2 linux-220df83a5394fbf7c1486ba7848794b7b351d598.zip |
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/drm_gem.h')
-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); |