diff options
author | Steve Kowalik <steven@wedontsleep.org> | 2018-01-26 14:55:54 +1100 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-02-20 10:41:21 -0500 |
commit | dc9a9b32053efea0a2610be98814519ec59570b4 (patch) | |
tree | 631c86f023070d47bc5b93bbe58535c75c0d6d72 /drivers/gpu/drm/msm/msm_ringbuffer.c | |
parent | cccb9723821806b5ec167d7910c6e82622f4a305 (diff) | |
download | op-kernel-dev-dc9a9b32053efea0a2610be98814519ec59570b4.zip op-kernel-dev-dc9a9b32053efea0a2610be98814519ec59570b4.tar.gz |
drm/msm: Replace gem_object deprecated functions
drm_gem_object_{reference,unreference,unreference_unlocked} are
deprecated functions, and merely alias to the get/put functions.
Switch to the new names.
Signed-off-by: Steve Kowalik <steven@wedontsleep.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_ringbuffer.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_ringbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_ringbuffer.c b/drivers/gpu/drm/msm/msm_ringbuffer.c index 6ca98da..6f5295b 100644 --- a/drivers/gpu/drm/msm/msm_ringbuffer.c +++ b/drivers/gpu/drm/msm/msm_ringbuffer.c @@ -76,7 +76,7 @@ void msm_ringbuffer_destroy(struct msm_ringbuffer *ring) if (ring->bo) { msm_gem_put_iova(ring->bo, ring->gpu->aspace); msm_gem_put_vaddr(ring->bo); - drm_gem_object_unreference_unlocked(ring->bo); + drm_gem_object_put_unlocked(ring->bo); } kfree(ring); } |