Skip to contentSkip to conversation

drm/amd/display: Fix spelling mistake "pre-definied" -> "pre-defined"

PATCH New TAKANO Mitsuhiro 1 participant 1 message Nov 21

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

PATCH 1/1 drm/amd/display: Fix spelling mistake "pre-definied" -> "pre-defined"

Three kernel-doc lines in dc.h spell the word with an extra "i": the @dgam_rom_caps and @ogam_rom_caps entries of dpp_color_caps, and the @ogam_rom_caps entry of mpc_color_caps. No other file in the tree has this spelling. The @dgam_rom_for_yuv entry above them already uses the hyphenated form, so fix the three lines to match.

No functional change.

Written with Hermes Agent, an LLM assistant; the author reviewed it and checked that the change touches comments only.

---
 drivers/gpu/drm/amd/display/dc/dc.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dc.h +3 -3
index d3c484f45333..3492ff0af1ab 100644
@@ -250,8 +250,8 @@ struct rom_curve_caps {
  * @ocsc: output color space conversion
  * @dgam_rom_for_yuv: pre-defined degamma LUT for YUV planes
  * @upsp_pre_scaler: Ability to upsample 420/422 before scaling
- * @dgam_rom_caps: pre-definied curve caps for degamma 1D LUT
- * @ogam_rom_caps: pre-definied curve caps for regamma 1D LUT
+ * @dgam_rom_caps: pre-defined curve caps for degamma 1D LUT
+ * @ogam_rom_caps: pre-defined curve caps for regamma 1D LUT
  *
  * Note: hdr_mult and gamut remap (CTM) are always available in DPP (in that order)
  */
@@ -310,7 +310,7 @@ struct lut3d_caps {
  * @num_rmcm_3dluts: number of RMCM 3D LUTS; always assumes a preceding shaper LUT
  * @shared_3d_lut: shared 3D LUT flag. Can be either DPP or MPC, but single
  * instance
- * @ogam_rom_caps: pre-definied curve caps for regamma 1D LUT
+ * @ogam_rom_caps: pre-defined curve caps for regamma 1D LUT
  * @mcm_3d_lut_caps: HW support cap for MCM LUT memory
  * @rmcm_3d_lut_caps: HW support cap for RMCM LUT memory
  * @preblend: whether color manager supports preblend with MPC

base-commit: d0f871bfb831705d9f55479f5b2b40f636ea7b16

Signature · 1 line
2.53.0