Skip to contentSkip to conversation

drm/amd/display: Add doc entry for program_3dlut_size

PATCH In review Alex Hung 2 participants 2 messages Jul 15, 2024

Subsystems (3)
lore
Share & tools
lore

Alex Hung

author
#0 lore raw

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'

---
 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
index 40a9b3471208..3a89cc0cffc1 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Alex Hung

Fixes the warning:

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

---
  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
index 40a9b3471208..3a89cc0cffc1 100644
@@ -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,

this patch is:

--

Thanks & Regards,
Aurabindo Pillai