[WHAT & HOW]
Add kernel-doc for new struct members for lut3d_caps and mpc_funcs.

This fixes the follow warnings from "make htmldocs".

./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1106: warning: Function
parameter or struct member 'mcm' not described in 'mpc_funcs'
./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1106: warning: Function
parameter or struct member 'rmcm' not described in 'mpc_funcs'
./drivers/gpu/drm/amd/display/dc/dc.h:249: warning: Function parameter
or struct member 'mcm_3d_lut_caps' not described in 'mpc_color_caps'
./drivers/gpu/drm/amd/display/dc/dc.h:249: warning: Function parameter
or struct member 'rmcm_3d_lut_caps' not described in 'mpc_color_caps'
./drivers/gpu/drm/amd/display/dc/dc.h:249: warning: Function parameter
or struct member 'preblend' not described in 'mpc_color_caps'

Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dc.h         |  3 +++
 drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 10 ++++++++++
 2 files changed, 13 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h 
b/drivers/gpu/drm/amd/display/dc/dc.h
index d57c57cabd4d..74379edcc4b1 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -235,6 +235,9 @@ struct lut3d_caps {
  * @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
+ * @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
  */
 struct mpc_color_caps {
        uint16_t gamut_remap : 1;
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h 
b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
index a5510bedca4b..7641439f6ca0 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
@@ -1075,6 +1075,11 @@ struct mpc_funcs {
        */
        void (*program_3dlut_size)(struct mpc *mpc, bool is_17x17x17, int 
mpcc_id);
 
+       /**
+        * @mcm:
+        *
+        * MPC MCM new HW sequential programming functions
+        */
        struct {
                void (*program_3dlut_size)(struct mpc *mpc, uint32_t width, int 
mpcc_id);
                void (*program_bias_scale)(struct mpc *mpc, uint16_t bias, 
uint16_t scale, int mpcc_id);
@@ -1087,6 +1092,11 @@ struct mpc_funcs {
                        bool lut_bank_a, int mpcc_id);
        } mcm;
 
+       /**
+        * @rmcm:
+        *
+        * MPC RMCM new HW sequential programming functions
+        */
        struct {
                void (*enable_3dlut_fl)(struct mpc *mpc, bool enable, int 
mpcc_id);
                void (*update_3dlut_fast_load_select)(struct mpc *mpc, int 
mpcc_id, int hubp_idx);
-- 
2.43.0

Reply via email to