summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_abi16.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tdz@users.sourceforge.net>2018-06-18 14:53:11 +0200
committerBen Skeggs <bskeggs@redhat.com>2018-07-16 18:06:29 +1000
commit743e0f079a38182cb22e663b34e6a45ad3274b9e (patch)
tree5e1abae37e4ffdd699472e972ea69feb31020d01 /drivers/gpu/drm/nouveau/nouveau_abi16.c
parentf066f7950708d889f59545c6c9f426885dcf3dcb (diff)
downloadlinux-stable-743e0f079a38182cb22e663b34e6a45ad3274b9e.tar.gz
linux-stable-743e0f079a38182cb22e663b34e6a45ad3274b9e.tar.bz2
linux-stable-743e0f079a38182cb22e663b34e6a45ad3274b9e.zip
drm/nouveau: Replace drm_gem_object_unreference_unlocked with put function
This patch unifies the naming of DRM functions for reference counting of struct drm_gem_object. The resulting code is more aligned with the rest of the Linux kernel interfaces. Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_abi16.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_abi16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_abi16.c b/drivers/gpu/drm/nouveau/nouveau_abi16.c
index e2211bb2cf79..e67a471331b5 100644
--- a/drivers/gpu/drm/nouveau/nouveau_abi16.c
+++ b/drivers/gpu/drm/nouveau/nouveau_abi16.c
@@ -139,7 +139,7 @@ nouveau_abi16_chan_fini(struct nouveau_abi16 *abi16,
if (chan->ntfy) {
nouveau_vma_del(&chan->ntfy_vma);
nouveau_bo_unpin(chan->ntfy);
- drm_gem_object_unreference_unlocked(&chan->ntfy->gem);
+ drm_gem_object_put_unlocked(&chan->ntfy->gem);
}
if (chan->heap.block_size)