Skip to contentSkip to conversation

drm/connector: Fix misspellings in the HDMI 2.1 capability comments

PATCH New TAKANO Mitsuhiro 1 participant 1 message Nov 20

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/connector: Fix misspellings in the HDMI 2.1 capability comments

Three comment lines misspell a word: "fom" for "from" in the kernel-doc of both struct drm_hdmi_vrr_cap and struct drm_hdmi_dsc_cap, and "inide" for "inside" in the comment of the vrr_min member.

The two in struct drm_hdmi_vrr_cap came in with 014da1db5e64, the one in struct drm_hdmi_dsc_cap with 76ee7b905678.

Two members of struct drm_hdmi_vrr_cap are documented under a name with a leading "m" that the struct does not have, @mcnmvrr for cnmvrr and @mcinema_vrr for cinema_vrr. A patch for that is on the list already, so it is left out here, and kernel-doc reports the same warnings with and without this change.

Written with Hermes Agent, an LLM assistant; the author reviewed it and ran kernel-doc on the file with and without the change.

Fixes 014da1db5e64 ("drm/edid: parse HDMI 2.1 gaming (ALLM/VRR) capabilities from HF-VSDB")
Fixes 76ee7b905678 ("drm/edid: Parse DSC1.2 cap fields from HFVSDB block")
---
 include/drm/drm_connector.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/drm/drm_connector.h +3 -3
index 2ee7c59329aa..f5bfb0f0e7ed 100644
@@ -259,7 +259,7 @@ struct drm_scdc {
  * struct drm_hdmi_vrr_cap - Information about VRR capabilities of a HDMI sink
  *
  * Describes the VRR support provided by HDMI 2.1 sink. The information is
- * fetched fom additional HFVSDB blocks defined for HDMI 2.1.
+ * fetched from additional HFVSDB blocks defined for HDMI 2.1.
  */
 struct drm_hdmi_vrr_cap {
 	/** @fva: flag for Fast VActive (Quick Frame Transport) support */
@@ -276,7 +276,7 @@ struct drm_hdmi_vrr_cap {
 
 	/**
 	 * @vrr_min : minimum supported variable refresh rate in Hz.
-	 * Valid values only inide 1 - 48 range
+	 * Valid values only inside 1 - 48 range
 	 */
 	u16 vrr_min;
 
@@ -297,7 +297,7 @@ struct drm_hdmi_vrr_cap {
  * struct drm_hdmi_dsc_cap - DSC capabilities of HDMI sink
  *
  * Describes the DSC support provided by HDMI 2.1 sink.
- * The information is fetched fom additional HFVSDB blocks defined
+ * The information is fetched from additional HFVSDB blocks defined
  * for HDMI 2.1.
  */
 struct drm_hdmi_dsc_cap {

base-commit: d0f871bfb831705d9f55479f5b2b40f636ea7b16

Signature · 1 line
2.53.0