Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Emil Velikov and committed by
Emil Velikov
5b4231fb efdff86d

+2 -5
+2 -5
Documentation/gpu/drm-mm.rst
··· 178 178 -------------------- 179 179 180 180 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. 186 183 187 184 When the last reference to a GEM object is released the GEM core calls 188 185 the :c:type:`struct drm_driver <drm_driver>` gem_free_object_unlocked