Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01159b47 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Daniel Vetter
Browse files

drm/i915: 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: default avatarThomas Zimmermann <tdz@users.sourceforge.net>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20180618110154.30462-5-tdz@users.sourceforge.net
parent 55f95c27
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -348,9 +348,6 @@ i915_gem_object_put(struct drm_i915_gem_object *obj)
	__drm_gem_object_put(&obj->base);
}

__deprecated
extern void drm_gem_object_unreference_unlocked(struct drm_gem_object *);

static inline void i915_gem_object_lock(struct drm_i915_gem_object *obj)
{
	reservation_object_lock(obj->resv, NULL);