Skip to content

Commit 5b4231f

Browse files
evelikov-workevelikov
authored andcommitted
drm/doc: drop struct_mutex references
There's little point in providing partial and ancient information about the struct_mutex. Some drivers are using it, new ones should not. As-it this only provides for confusion. 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-5-emil.l.velikov@gmail.com
1 parent efdff86 commit 5b4231f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

‎Documentation/gpu/drm-mm.rst‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,8 @@ GEM Objects Lifetime
178178
--------------------
179179

180180
All GEM objects are reference-counted by the GEM core. References can be
181-
acquired and release by calling drm_gem_object_get() and drm_gem_object_put()
182-
respectively. The caller must hold the :c:type:`struct drm_device <drm_device>`
183-
struct_mutex lock when calling drm_gem_object_get(). As a convenience, GEM
184-
provides drm_gem_object_put_unlocked() functions that can be called without
185-
holding the lock.
181+
acquired and release by calling drm_gem_object_get() and drm_gem_object_put_unlocked()
182+
respectively.
186183

187184
When the last reference to a GEM object is released the GEM core calls
188185
the :c:type:`struct drm_driver <drm_driver>` gem_free_object_unlocked

0 commit comments

Comments
 (0)