drm/amd/display: Add doc entry for program_3dlut_size
Subsystems (3)
PATCH 1/1 drm/amd/display: Add doc entry for program_3dlut_size
Fixes the warning:
Function parameter or struct member 'program_3dlut_size' not described in 'mpc_funcs'
Signed-off-by Alex Hung <[email protected]>
--- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +14 -0
@@ -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); };
Signature · 1 line
2.34.1
Quoted 23 lines · Alex Hung
Fixes the warning:
Function parameter or struct member '
program_3dlut_size' not described in 'mpc_funcs'Signed-off-by Alex Hung <[email protected]>--- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+)drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +6
-0@@ -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:
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h struct mpc_funcs { · line 1057
Quoted 10 lines
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +8
-0+* - [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); };
With the following tag added,
Reported-by Stephen Rothwell <[email protected]>
this patch is:
Reviewed-by Aurabindo Pillai <[email protected]>
--
Thanks & Regards,
Aurabindo Pillai