diff options
author | Rob Herring <robh@kernel.org> | 2019-07-04 00:38:50 +0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-07-04 00:38:50 +0200 |
commit | 415d2e9e07574d3de63b8df77dc686e0ebf64865 (patch) | |
tree | c2104dc6ce6883d93ee115259014f943c93da963 /include/drm/drm_gem.h | |
parent | Revert "drm/panfrost: Use drm_gem_map_offset()" (diff) | |
download | linux-415d2e9e07574d3de63b8df77dc686e0ebf64865.tar.xz linux-415d2e9e07574d3de63b8df77dc686e0ebf64865.zip |
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); |