]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Add doc entry for program_3dlut_size
authorAlex Hung <alex.hung@amd.com>
Mon, 15 Jul 2024 19:53:17 +0000 (13:53 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2024 15:44:10 +0000 (11:44 -0400)
Fixes the warning:

Function parameter or struct member 'program_3dlut_size' not described in
'mpc_funcs'

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/dri-devel/20240715090445.7e9387ec@canb.auug.org.au/
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h

index 40a9b3471208ef3e78449194666fdff2e78f55d7..3a89cc0cffc11f56fe0adec561a097394be3b1ac 100644 (file)
@@ -1039,6 +1039,20 @@ struct mpc_funcs {
        */
        void (*program_lut_mode)(struct mpc *mpc, const enum MCM_LUT_ID id, const enum MCM_LUT_XABLE xable,
                        bool lut_bank_a, int mpcc_id);
+       /**
+       * @program_3dlut_size:
+       *
+       * Program 3D LUT size.
+       *
+       * Parameters:
+       * - [in/out] mpc - MPC context.
+       * - [in] is_17x17x17 - is 3dlut 17x17x17
+       * - [in] mpcc_id
+       *
+       * Return:
+       *
+       * void
+       */
        void (*program_3dlut_size)(struct mpc *mpc, bool is_17x17x17, int mpcc_id);
 };