Commit 8117e5e5 authored by Rob Clark's avatar Rob Clark

drm/msm/gem: Rename internal get_iova_locked helper

We'll need to introduce a _locked() version of msm_gem_get_iova(), so we
need to make that name available.
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarKristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent a6ae74c9
......@@ -375,7 +375,7 @@ put_iova(struct drm_gem_object *obj)
}
}
static int msm_gem_get_iova_locked(struct drm_gem_object *obj,
static int get_iova_locked(struct drm_gem_object *obj,
struct msm_gem_address_space *aspace, uint64_t *iova,
u64 range_start, u64 range_end)
{
......@@ -447,7 +447,7 @@ int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj,
msm_gem_lock(obj);
ret = msm_gem_get_iova_locked(obj, aspace, &local,
ret = get_iova_locked(obj, aspace, &local,
range_start, range_end);
if (!ret)
......@@ -477,7 +477,7 @@ int msm_gem_get_iova(struct drm_gem_object *obj,
int ret;
msm_gem_lock(obj);
ret = msm_gem_get_iova_locked(obj, aspace, iova, 0, U64_MAX);
ret = get_iova_locked(obj, aspace, iova, 0, U64_MAX);
msm_gem_unlock(obj);
return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment