All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
	jani.nikula@intel.com, 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>,
	lucas.demarchi@intel.com
Subject: [PATCH v2 06/16] drm/i915/hdcp: fix i915_hdcp_interface.h kernel-doc warnings
Date: Fri,  8 Mar 2024 13:55:44 +0200	[thread overview]
Message-ID: <5c7ba8db172101c40b686463f169ec579a509f29.1709898638.git.jani.nikula@intel.com> (raw)
In-Reply-To: <cover.1709898638.git.jani.nikula@intel.com>

Make the documentation match code.

v2: Small fixups while at it (Lucas)

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 include/drm/i915_hdcp_interface.h | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/include/drm/i915_hdcp_interface.h b/include/drm/i915_hdcp_interface.h
index 4c9c8167c2d5..d776ed7dcd00 100644
--- a/include/drm/i915_hdcp_interface.h
+++ b/include/drm/i915_hdcp_interface.h
@@ -54,7 +54,7 @@ enum hdcp_ddi {
 };
 
 /**
- * enum hdcp_tc - ME/GSC Firmware defined index for transcoders
+ * enum hdcp_transcoder - ME/GSC Firmware defined index for transcoders
  * @HDCP_INVALID_TRANSCODER: Index for Invalid transcoder
  * @HDCP_TRANSCODER_EDP: Index for EDP Transcoder
  * @HDCP_TRANSCODER_DSI0: Index for DSI0 Transcoder
@@ -106,7 +106,7 @@ struct hdcp_port_data {
  *			    And Prepare AKE_Init.
  * @verify_receiver_cert_prepare_km: Verify the Receiver Certificate
  *				     AKE_Send_Cert and prepare
-				     AKE_Stored_Km/AKE_No_Stored_Km
+ *				     AKE_Stored_Km/AKE_No_Stored_Km
  * @verify_hprime: Verify AKE_Send_H_prime
  * @store_pairing_info: Store pairing info received
  * @initiate_locality_check: Prepare LC_Init
@@ -170,14 +170,22 @@ struct i915_hdcp_ops {
 /**
  * struct i915_hdcp_arbiter - Used for communication between i915
  * and hdcp drivers for the HDCP2.2 services
- * @hdcp_dev: device that provide the HDCP2.2 service from MEI Bus.
- * @hdcp_ops: Ops implemented by hdcp driver or intel_hdcp_gsc , used by i915 driver.
  */
 struct i915_hdcp_arbiter {
+	/**
+	 * @hdcp_dev: device that provides the HDCP2.2 service from MEI Bus.
+	 */
 	struct device *hdcp_dev;
+
+	/**
+	 * @ops: Ops implemented by hdcp driver or intel_hdcp_gsc, used by i915
+	 * driver.
+	 */
 	const struct i915_hdcp_ops *ops;
 
-	/* To protect the above members. */
+	/**
+	 * @mutex: To protect the above members.
+	 */
 	struct mutex mutex;
 };
 
-- 
2.39.2


  parent reply	other threads:[~2024-03-08 11:56 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 ` Jani Nikula [this message]
2024-03-08 11:55 ` [PATCH v2 07/16] drm/i915/pxp: fix i915_pxp_tee_interface.h kernel-doc warnings Jani Nikula
2024-03-08 15:10   ` Lucas De Marchi
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=5c7ba8db172101c40b686463f169ec579a509f29.1709898638.git.jani.nikula@intel.com \
    --to=jani.nikula@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=lucas.demarchi@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.