diff options
author | Rob Herring <robh@kernel.org> | 2019-07-03 16:38:50 -0600 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-07-03 16:38:50 -0600 |
commit | 415d2e9e07574d3de63b8df77dc686e0ebf64865 (patch) | |
tree | c2104dc6ce6883d93ee115259014f943c93da963 /include/drm/drm_gem.h | |
parent | be855382bacb5ccfd24f9be6098d87acf4cfbb15 (diff) | |
download | linux-415d2e9e07574d3de63b8df77dc686e0ebf64865.tar.bz2 |
Revert "drm/gem: Rename drm_gem_dumb_map_offset() to drm_gem_map_offset()"
This reverts commit 220df83a5394fbf7c1486ba7848794b7b351d598.
Turns out drm_gem_dumb_map_offset really only worked for the dumb buffer
case, so revert the name change.
Signed-off-by: Rob Herring <robh@kernel.org>
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 0d6445fa9541..ae693c0666cd 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_map_offset(struct drm_file *file, struct drm_device *dev, - u32 handle, u64 *offset); +int drm_gem_dumb_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); |