Commit 3ce11806 authored by Thomas Zimmermann's avatar Thomas Zimmermann Committed by Tomi Valkeinen

drm/omap: Replace drm_gem_object_{un/reference} with put,get functions

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 avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent e58febe1
...@@ -168,7 +168,7 @@ struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev, ...@@ -168,7 +168,7 @@ struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,
* Importing dmabuf exported from out own gem increases * Importing dmabuf exported from out own gem increases
* refcount on gem itself instead of f_count of dmabuf. * refcount on gem itself instead of f_count of dmabuf.
*/ */
drm_gem_object_reference(obj); drm_gem_object_get(obj);
return obj; return obj;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment