[Intel-gfx] [PATCH 13/24] drm/i915/context: fix kernel-doc parameter descriptions
Rodrigo Vivi
rodrigo.vivi at kernel.org
Wed May 3 14:29:02 UTC 2023
On Tue, May 02, 2023 at 06:37:30PM +0300, Jani Nikula wrote:
> drivers/gpu/drm/i915/gt/intel_context.h:108: warning: Function parameter or member 'ce' not described in 'intel_context_lock_pinned'
> drivers/gpu/drm/i915/gt/intel_context.h:123: warning: Function parameter or member 'ce' not described in 'intel_context_is_pinned'
> drivers/gpu/drm/i915/gt/intel_context.h:142: warning: Function parameter or member 'ce' not described in 'intel_context_unlock_pinned'
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
> ---
> drivers/gpu/drm/i915/gt/intel_context.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_context.h b/drivers/gpu/drm/i915/gt/intel_context.h
> index 48f888c3da08..6b5eae7b88bc 100644
> --- a/drivers/gpu/drm/i915/gt/intel_context.h
> +++ b/drivers/gpu/drm/i915/gt/intel_context.h
> @@ -97,7 +97,7 @@ void intel_context_bind_parent_child(struct intel_context *parent,
>
> /**
> * intel_context_lock_pinned - Stablises the 'pinned' status of the HW context
> - * @ce - the context
> + * @ce: the context
> *
> * Acquire a lock on the pinned status of the HW context, such that the context
> * can neither be bound to the GPU or unbound whilst the lock is held, i.e.
> @@ -111,7 +111,7 @@ static inline int intel_context_lock_pinned(struct intel_context *ce)
>
> /**
> * intel_context_is_pinned - Reports the 'pinned' status
> - * @ce - the context
> + * @ce: the context
> *
> * While in use by the GPU, the context, along with its ring and page
> * tables is pinned into memory and the GTT.
> @@ -133,7 +133,7 @@ static inline void intel_context_cancel_request(struct intel_context *ce,
>
> /**
> * intel_context_unlock_pinned - Releases the earlier locking of 'pinned' status
> - * @ce - the context
> + * @ce: the context
> *
> * Releases the lock earlier acquired by intel_context_unlock_pinned().
> */
> --
> 2.39.2
>
More information about the Intel-gfx
mailing list