aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov2020-05-15 10:50:46 +0100
committerEmil Velikov2020-05-19 21:52:27 +0100
commit2891586f323a88f486f734aaf7c6ceb33cec7b27 (patch)
tree345884161ae71bf280a997e1e38eb9d442dbe26b
parente33f4234263da26154be0b1e5ffc7a2c5e52c3e3 (diff)
drm/doc: drop struct_mutex reference for drm_gem_object_free
The comment that struct_mutex must be held is misleading. It is only required when .gem_free_object() is used. Since that one is going with the next patches, drop the reference. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20200515095118.2743122-7-emil.l.velikov@gmail.com
-rw-r--r--drivers/gpu/drm/drm_gem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
index bd01ffd39376..eb0017985d91 100644
--- a/drivers/gpu/drm/drm_gem.c
+++ b/drivers/gpu/drm/drm_gem.c
@@ -965,7 +965,6 @@ EXPORT_SYMBOL(drm_gem_object_release);
* @kref: kref of the object to free
*
* Called after the last reference to the object has been lost.
- * Must be called holding &drm_device.struct_mutex.
*
* Frees the object
*/