All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: Jani Nikula <jani.nikula@intel.com>
Cc: <dri-devel@lists.freedesktop.org>,
	<intel-gfx@lists.freedesktop.org>,
	<intel-xe@lists.freedesktop.org>,
	David Airlie <airlied@gmail.com>,
	"Daniel Vetter" <daniel@ffwll.ch>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Maxime Ripard <mripard@kernel.org>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Masahiro Yamada <masahiroy@kernel.org>
Subject: Re: [PATCH v2 07/16] drm/i915/pxp: fix i915_pxp_tee_interface.h kernel-doc warnings
Date: Fri, 8 Mar 2024 09:10:09 -0600	[thread overview]
Message-ID: <2jsd43trhsa3vocvzzp7q372dwmzm4xxmktumc74z64o2a2os2@swaaolrrrn4n> (raw)
In-Reply-To: <7c26256dc00f970f94d145b73e341c36f553dfe4.1709898638.git.jani.nikula@intel.com>

On Fri, Mar 08, 2024 at 01:55:45PM +0200, Jani Nikula wrote:
>Make documentation match code. Slightly fix up the documentation
>comments while at it.
>
>v2:
>- Move comments next to members instead of struct comment (Lucas)
>- Small fixups while at it
>
>Cc: Lucas De Marchi <lucas.demarchi@intel.com>
>Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
>Signed-off-by: Jani Nikula <jani.nikula@intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>

Lucas De Marchi

>---
> include/drm/i915_pxp_tee_interface.h | 27 ++++++++++++++++++++-------
> 1 file changed, 20 insertions(+), 7 deletions(-)
>
>diff --git a/include/drm/i915_pxp_tee_interface.h b/include/drm/i915_pxp_tee_interface.h
>index 7d96985f2d05..a532d32f58f3 100644
>--- a/include/drm/i915_pxp_tee_interface.h
>+++ b/include/drm/i915_pxp_tee_interface.h
>@@ -12,20 +12,26 @@ struct scatterlist;
>
> /**
>  * struct i915_pxp_component_ops - ops for PXP services.
>- * @owner: Module providing the ops
>- * @send: sends data to PXP
>- * @receive: receives data from PXP
>  */
> struct i915_pxp_component_ops {
> 	/**
>-	 * @owner: owner of the module provding the ops
>+	 * @owner: Module providing the ops.
> 	 */
> 	struct module *owner;
>
>+	/**
>+	 * @send: Send a PXP message.
>+	 */
> 	int (*send)(struct device *dev, const void *message, size_t size,
> 		    unsigned long timeout_ms);
>+	/**
>+	 * @recv: Receive a PXP message.
>+	 */
> 	int (*recv)(struct device *dev, void *buffer, size_t size,
> 		    unsigned long timeout_ms);
>+	/**
>+	 * @gsc_command: Send a GSC command.
>+	 */
> 	ssize_t (*gsc_command)(struct device *dev, u8 client_id, u32 fence_id,
> 			       struct scatterlist *sg_in, size_t total_in_len,
> 			       struct scatterlist *sg_out);
>@@ -35,14 +41,21 @@ struct i915_pxp_component_ops {
> /**
>  * struct i915_pxp_component - Used for communication between i915 and TEE
>  * drivers for the PXP services
>- * @tee_dev: device that provide the PXP service from TEE Bus.
>- * @pxp_ops: Ops implemented by TEE driver, used by i915 driver.
>  */
> struct i915_pxp_component {
>+	/**
>+	 * @tee_dev: device that provide the PXP service from TEE Bus.
>+	 */
> 	struct device *tee_dev;
>+
>+	/**
>+	 * @ops: Ops implemented by TEE driver, used by i915 driver.
>+	 */
> 	const struct i915_pxp_component_ops *ops;
>
>-	/* To protect the above members. */
>+	/**
>+	 * @mutex: To protect the above members.
>+	 */
> 	struct mutex mutex;
> };
>
>-- 
>2.39.2
>

  reply	other threads:[~2024-03-08 15:10 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 11:55 [PATCH v2 00/16] drm: fix headers, add header test facility Jani Nikula
2024-03-08 11:55 ` [PATCH v2 01/16] drm: add missing header guards to drm_crtc_internal.h Jani Nikula
2024-03-08 17:19   ` Alex Deucher
2024-03-08 11:55 ` [PATCH v2 02/16] drm: add missing header guards to drm_crtc_helper_internal.h Jani Nikula
2024-03-08 17:21   ` Alex Deucher
2024-03-08 11:55 ` [PATCH v2 03/16] drm/encoder: improve drm_encoder_slave.h kernel-doc Jani Nikula
2024-03-08 17:21   ` Alex Deucher
2024-03-08 11:55 ` [PATCH v2 04/16] drm/i2c: silence ch7006.h and sil164.h kernel-doc warnings Jani Nikula
2024-03-08 11:55 ` [PATCH v2 05/16] drm/i915: fix i915_gsc_proxy_mei_interface.h kernel-doc Jani Nikula
2024-03-08 11:55 ` [PATCH v2 06/16] drm/i915/hdcp: fix i915_hdcp_interface.h kernel-doc warnings Jani Nikula
2024-03-08 11:55 ` [PATCH v2 07/16] drm/i915/pxp: fix i915_pxp_tee_interface.h " Jani Nikula
2024-03-08 15:10   ` Lucas De Marchi [this message]
2024-03-08 11:55 ` [PATCH v2 08/16] m68k: pgtable: Add missing #include <asm/page.h> Jani Nikula
2024-03-08 11:55 ` [PATCH v2 09/16] drm/ttm: fix ttm_bo.h kernel-doc warnings Jani Nikula
2024-03-08 13:03   ` Christian König
2024-03-08 16:07   ` [PATCH v3] " Jani Nikula
2024-03-08 11:55 ` [PATCH v2 10/16] drm/ttm: make ttm_caching.h self-contained Jani Nikula
2024-03-08 17:22   ` Alex Deucher
2024-03-08 11:55 ` [PATCH v2 11/16] drm/ttm: fix ttm_execbuf_util.h kernel-doc warnings Jani Nikula
2024-03-08 11:55 ` [PATCH v2 12/16] drm/ttm: fix ttm_kmap_iter.h " Jani Nikula
2024-03-08 11:55 ` [PATCH v2 13/16] drm/ttm: make ttm_pool.h self-contained Jani Nikula
2024-03-08 17:22   ` Alex Deucher
2024-03-08 11:55 ` [PATCH v2 14/16] drm/dp_mst: avoid includes in drm_dp_mst_topology_internal.h Jani Nikula
2024-03-08 15:12   ` Lucas De Marchi
2024-03-08 11:55 ` [PATCH v2 15/16] drm: avoid includes in drm_crtc_helper_internal.h Jani Nikula
2024-03-08 15:12   ` Lucas De Marchi
2024-03-08 11:55 ` [PATCH v2 16/16] drm: ensure drm headers are self-contained and pass kernel-doc Jani Nikula
2024-03-11 12:33   ` Jani Nikula
2024-03-08 13:50 ` ✓ CI.Patch_applied: success for drm: fix headers, add header test facility Patchwork
2024-03-08 13:51 ` ✗ CI.checkpatch: warning " Patchwork
2024-03-08 13:52 ` ✓ CI.KUnit: success " Patchwork
2024-03-08 14:02 ` ✓ CI.Build: " Patchwork
2024-03-08 14:03 ` ✓ CI.Hooks: " Patchwork
2024-03-08 14:04 ` ✗ CI.checksparse: warning " Patchwork
2024-03-08 14:39 ` ✓ CI.BAT: success " Patchwork
2024-03-08 14:46 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-03-08 14:46 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-03-08 15:00 ` ✓ Fi.CI.BAT: success " Patchwork
2024-03-08 17:38 ` ✓ CI.Patch_applied: success for drm: fix headers, add header test facility (rev2) Patchwork
2024-03-08 17:38 ` ✗ CI.checkpatch: warning " Patchwork
2024-03-08 17:39 ` ✓ CI.KUnit: success " Patchwork
2024-03-08 17:49 ` ✓ CI.Build: " Patchwork
2024-03-08 17:50 ` ✓ CI.Hooks: " Patchwork
2024-03-08 17:51 ` ✗ CI.checksparse: warning " Patchwork
2024-03-08 18:26 ` ✓ CI.BAT: success " Patchwork
2024-03-08 19:30 ` ✗ Fi.CI.CHECKPATCH: warning " Patchwork
2024-03-08 19:30 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-03-08 19:47 ` ✗ Fi.CI.BAT: failure " Patchwork
2024-03-11 12:35 ` [PATCH v2 00/16] drm: fix headers, add header test facility Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2jsd43trhsa3vocvzzp7q372dwmzm4xxmktumc74z64o2a2os2@swaaolrrrn4n \
    --to=lucas.demarchi@intel.com \
    --cc=airlied@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=masahiroy@kernel.org \
    --cc=mripard@kernel.org \
    --cc=tzimmermann@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.