2020-05-28 17:26:55

by Sidong Yang

[permalink] [raw]
Subject: [PATCH] Documentation: Fix typo error in todo.rst

Change wrong function name drm_modest_lock_all() to drm_modeset_lock_all()

Signed-off-by: Sidong Yang <[email protected]>
---
Documentation/gpu/todo.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 658b52f7ffc6..436489b53fea 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -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.
--
2.17.1


2020-05-31 20:29:50

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH] Documentation: Fix typo error in todo.rst

Hi Sidong
On Fri, May 29, 2020 at 02:21:59AM +0900, Sidong Yang wrote:
> Change wrong function name drm_modest_lock_all() to drm_modeset_lock_all()
>
> Signed-off-by: Sidong Yang <[email protected]>

Thanks, applied to drm-misc-next.

Sam

> ---
> Documentation/gpu/todo.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
> index 658b52f7ffc6..436489b53fea 100644
> --- a/Documentation/gpu/todo.rst
> +++ b/Documentation/gpu/todo.rst
> @@ -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.
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/dri-devel