Commit 7da15640 authored by Sidong Yang's avatar Sidong Yang Committed by Sam Ravnborg
Browse files

Documentation: Fix typo error in todo.rst



Change wrong function name drm_modest_lock_all() to drm_modeset_lock_all()

Signed-off-by: default avatarSidong Yang <realwakka@gmail.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200528172159.24641-1-realwakka@gmail.com
parent 6015002e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -305,7 +305,7 @@ acquire context. Replace the boilerplate code surrounding
drm_modeset_lock_all_ctx() with DRM_MODESET_LOCK_ALL_BEGIN() and
DRM_MODESET_LOCK_ALL_END() instead.

This should also be done for all places where drm_modest_lock_all() is still
This should also be done for all places where drm_modeset_lock_all() is still
used.

As a reference, take a look at the conversions already completed in drm core.