diff options
author | Thomas Zimmermann <tdz@users.sourceforge.net> | 2018-06-18 15:53:11 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2018-07-16 11:06:29 +0300 |
commit | 743e0f079a38182cb22e663b34e6a45ad3274b9e (patch) | |
tree | 5e1abae37e4ffdd699472e972ea69feb31020d01 /drivers/gpu/drm/nouveau/dispnv04 | |
parent | f066f7950708d889f59545c6c9f426885dcf3dcb (diff) | |
download | linux-743e0f079a38182cb22e663b34e6a45ad3274b9e.tar.xz |
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/dispnv04')
-rw-r--r-- | drivers/gpu/drm/nouveau/dispnv04/crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drivers/gpu/drm/nouveau/dispnv04/crtc.c index 6aa6ee16dcbd..2c569e264df3 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c @@ -1017,7 +1017,7 @@ nv04_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); nv_crtc->cursor.show(nv_crtc, true); out: - drm_gem_object_unreference_unlocked(gem); + drm_gem_object_put_unlocked(gem); return ret; } |