Skip to contentSkip to conversation

drm/amd/display: Fix kernel docs for struct mpc_color_caps

PATCH In review Alex Hung 2 participants 2 messages Jul 16, 2025

Subsystems (3)
lore
Share & tools
lore

Alex Hung

author
#0 lore raw

PATCH 1/1 drm/amd/display: Fix kernel docs for struct mpc_color_caps

[WHAT & HOW]
Add kernel-doc for a new struct member "num_rmcm_3dluts".

This fixes the follow warnings from "make htmldocs".

./drivers/gpu/drm/amd/display/dc/dc.h:255: warning: Function parameter or struct member 'num_rmcm_3dluts' not described in 'mpc_color_caps'

---
 drivers/gpu/drm/amd/display/dc/dc.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 59c07756130d..fac976b2cbee 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
  * @ogam_ram: programmable out gamma LUT
  * @ocsc: output color space conversion matrix
  * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM hardware instances
  * @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
Signature · 1 line
2.43.0
#1 lore raw
Quoted 11 lines · Alex Hung

[WHAT & HOW]
Add kernel-doc for a new struct member "num_rmcm_3dluts".

This fixes the follow warnings from "make htmldocs".

./drivers/gpu/drm/amd/display/dc/dc.h:255: warning: Function parameter or struct member 'num_rmcm_3dluts' not described in 'mpc_color_caps'

Fixes 26ad78fffc66 ("drm/amd/display: MPC basic allocation logic and TMZ")
Quoted 19 lines
---
 drivers/gpu/drm/amd/display/dc/dc.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -1
index 59c07756130d..fac976b2cbee 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
  * @ogam_ram: programmable out gamma LUT
  * @ocsc: output color space conversion matrix
  * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM hardware instances
  * @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
--

2.43.0