2024-05-13 06:16:19

by Deming Wang

[permalink] [raw]
Subject: [PATCH] drm/i915/gem/i915_gem_ttm_move: Fix typo

The mapings should be replaced by mappings.

Signed-off-by: Deming Wang <[email protected]>
---
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
index 7078af2f8f79..03b00a03a634 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
@@ -155,7 +155,7 @@ void i915_ttm_adjust_gem_after_move(struct drm_i915_gem_object *obj)
* @bo: The ttm buffer object.
*
* This function prepares an object for move by removing all GPU bindings,
- * removing all CPU mapings and finally releasing the pages sg-table.
+ * removing all CPU mappings and finally releasing the pages sg-table.
*
* Return: 0 if successful, negative error code on error.
*/
--
2.31.1



2024-05-13 15:58:29

by Rodrigo Vivi

[permalink] [raw]
Subject: Re: [PATCH] drm/i915/gem/i915_gem_ttm_move: Fix typo

On Mon, May 13, 2024 at 02:14:51AM -0400, Deming Wang wrote:
> The mapings should be replaced by mappings.
>
> Signed-off-by: Deming Wang <[email protected]>

Reviewed-by: Rodrigo Vivi <[email protected]>

and pushed to drm-intel-gt-next

thanks for the patch

> ---
> drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
> index 7078af2f8f79..03b00a03a634 100644
> --- a/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
> +++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
> @@ -155,7 +155,7 @@ void i915_ttm_adjust_gem_after_move(struct drm_i915_gem_object *obj)
> * @bo: The ttm buffer object.
> *
> * This function prepares an object for move by removing all GPU bindings,
> - * removing all CPU mapings and finally releasing the pages sg-table.
> + * removing all CPU mappings and finally releasing the pages sg-table.
> *
> * Return: 0 if successful, negative error code on error.
> */
> --
> 2.31.1
>