]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/i915: Replace __drm_gem_object_unreference with __drm_gem_object_put
authorThomas Zimmermann <tdz@users.sourceforge.net>
Mon, 18 Jun 2018 11:01:52 +0000 (13:01 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 28 Jun 2018 17:09:34 +0000 (19:09 +0200)
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: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180618110154.30462-4-tdz@users.sourceforge.net
drivers/gpu/drm/i915/i915_gem_object.h

index da6e849f41a45834a1fef74fc35994ddf104fa74..0042496216fe13c669de930d3469b4e9d16fb37c 100644 (file)
@@ -345,7 +345,7 @@ __attribute__((nonnull))
 static inline void
 i915_gem_object_put(struct drm_i915_gem_object *obj)
 {
-       __drm_gem_object_unreference(&obj->base);
+       __drm_gem_object_put(&obj->base);
 }
 
 __deprecated