projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e58febe
)
drm/omap: Replace drm_gem_object_{un/reference} with put,get functions
author
Thomas Zimmermann
<
[email protected]
>
Mon, 18 Jun 2018 13:07:25 +0000
(15:07 +0200)
committer
Tomi Valkeinen
<
[email protected]
>
Tue, 2 Oct 2018 06:36:56 +0000
(09:36 +0300)
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 <
[email protected]
>
Signed-off-by: Tomi Valkeinen <
[email protected]
>
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
b/drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c
index ec04a69ade46bde5e4175740ecd6dccaca61ee6f..0f8b597ccd106e9c96d0514a87d2099e50ce05b5 100644
(file)
--- 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,
* Importing dmabuf exported from out own gem increases
* refcount on gem itself instead of f_count of dmabuf.
*/
- drm_gem_object_
reference
(obj);
+ drm_gem_object_
get
(obj);
return obj;
}
}