]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Fix kernel docs for new struct members
authorAlex Hung <alex.hung@amd.com>
Tue, 3 Jun 2025 19:19:57 +0000 (13:19 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:17 +0000 (12:19 -0400)
[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 <aurabindo.pillai@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h

index d57c57cabd4d39ea62679b0189963b5a268a07fc..74379edcc4b170f2e8acd84482fb58eeedf79536 100644 (file)
@@ -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;
index a5510bedca4b9c45ae28331f3d11acdd1f1c59ad..7641439f6ca0622d48cc74c48a55a07f1859238c 100644 (file)
@@ -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);