* [PATCH] drm/amd/display: Add doc entry for program_3dlut_size
@ 2024-07-15 20:39 Alex Hung
2024-07-15 20:43 ` Aurabindo Pillai
0 siblings, 1 reply; 2+ messages in thread
From: Alex Hung @ 2024-07-15 20:39 UTC (permalink / raw)
To: amd-gfx, alexdeucher
Cc: Rodrigo.Siqueira, Aurabindo.Pillai, Roman Li, Alex Hung
Fixes the warning:
Function parameter or struct member 'program_3dlut_size' not described in 'mpc_funcs'
Signed-off-by: Alex Hung <alex.hung@amd.com>
---
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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 40a9b3471208..3a89cc0cffc1 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
@@ -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);
};
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/amd/display: Add doc entry for program_3dlut_size
2024-07-15 20:39 [PATCH] drm/amd/display: Add doc entry for program_3dlut_size Alex Hung
@ 2024-07-15 20:43 ` Aurabindo Pillai
0 siblings, 0 replies; 2+ messages in thread
From: Aurabindo Pillai @ 2024-07-15 20:43 UTC (permalink / raw)
To: Alex Hung, amd-gfx, alexdeucher; +Cc: Rodrigo.Siqueira, Roman Li
On 7/15/24 4:39 PM, Alex Hung wrote:
> Fixes the warning:
>
> Function parameter or struct member 'program_3dlut_size' not described in 'mpc_funcs'
>
> Signed-off-by: Alex Hung <alex.hung@amd.com>
> ---
> drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> 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 40a9b3471208..3a89cc0cffc1 100644
> --- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
> +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
> @@ -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);
> };
With the following tag added,
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
this patch is:
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
--
Thanks & Regards,
Aurabindo Pillai
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-15 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 20:39 [PATCH] drm/amd/display: Add doc entry for program_3dlut_size Alex Hung
2024-07-15 20:43 ` Aurabindo Pillai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox