aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <tdz@users.sourceforge.net>2018-06-18 09:07:25 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-10-02 02:36:56 -0400
commit3ce11806c0ba279b5893bb9eb1d193e1acbef7b6 (patch)
treef7d65510d8783e24a9c01dd0de85b8390745d9c0
parente58febe1d99c6557bc7a4397426e9d470cc7f430 (diff)
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: Thomas Zimmermann <tdz@users.sourceforge.net> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
index ec04a69ade46..0f8b597ccd10 100644
--- a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
+++ b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
@@ -168,7 +168,7 @@ struct drm_gem_object *omap_gem_prime_import(struct drm_device *dev,
168 * Importing dmabuf exported from out own gem increases 168 * Importing dmabuf exported from out own gem increases
169 * refcount on gem itself instead of f_count of dmabuf. 169 * refcount on gem itself instead of f_count of dmabuf.
170 */ 170 */
171 drm_gem_object_reference(obj); 171 drm_gem_object_get(obj);
172 return obj; 172 return obj;
173 } 173 }
174 } 174 }