Commit 2891586f authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

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: default avatarEmil Velikov <emil.velikov@collabora.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515095118.2743122-7-emil.l.velikov@gmail.com
parent e33f4234
...@@ -965,7 +965,6 @@ EXPORT_SYMBOL(drm_gem_object_release); ...@@ -965,7 +965,6 @@ EXPORT_SYMBOL(drm_gem_object_release);
* @kref: kref of the object to free * @kref: kref of the object to free
* *
* Called after the last reference to the object has been lost. * Called after the last reference to the object has been lost.
* Must be called holding &drm_device.struct_mutex.
* *
* Frees the object * Frees the object
*/ */
......
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