diff options
author | Rob Herring <robh@kernel.org> | 2019-08-07 10:52:47 -0400 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-08-07 11:56:48 -0400 |
commit | abd4e745ffc4d762b0ed4eada9ff732d8861174d (patch) | |
tree | dbfe81cc095f72016bac0c06accc3d455f363f84 /include/drm/drm_gem.h | |
parent | e6be0a9913c817689b61a7dc36550b80a3b27f62 (diff) | |
download | linux-abd4e745ffc4d762b0ed4eada9ff732d8861174d.tar.gz linux-abd4e745ffc4d762b0ed4eada9ff732d8861174d.tar.bz2 linux-abd4e745ffc4d762b0ed4eada9ff732d8861174d.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>
Signed-off-by: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20190807145253.2037-2-sean@poorly.run
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); |