AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd/display: kernel-doc: document mpc_color_caps.num_rmcm_3dluts
@ 2025-09-19 20:30 Akiyoshi Kurita
  2025-09-29 23:02 ` Alex Hung
  0 siblings, 1 reply; 2+ messages in thread
From: Akiyoshi Kurita @ 2025-09-19 20:30 UTC (permalink / raw)
  To: amd-gfx
  Cc: harry.wentland, sunpeng.li, siqueira, alexander.deucher,
	christian.koenig, airlied, dri-devel, linux-kernel,
	Akiyoshi Kurita

Add the missing @num_rmcm_3dluts field description to silence a
kernel-doc warning. While here, fix a typo in the same block
("pre-definied" -> "pre-defined") and clarify the oGAM description.

No functional change.

Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
 drivers/gpu/drm/amd/display/dc/dc.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
index f24e1da68269..144de7b3ed49 100644
--- a/drivers/gpu/drm/amd/display/dc/dc.h
+++ b/drivers/gpu/drm/amd/display/dc/dc.h
@@ -231,12 +231,12 @@ struct lut3d_caps {
  * plane combined blocks
  *
  * @gamut_remap: color transformation matrix
- * @ogam_ram: programmable out gamma LUT
+ * @ogam_ram: programmable output gamma (oGAM) LUT
  * @ocsc: output color space conversion matrix
  * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
- * @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
+ * @num_rmcm_3dluts: number of RMCM 3D LUT instances supported by MPC (0 if unsupported)
+ * @shared_3d_lut: shared 3D LUT flag. Can be either DPP or MPC, but single instance
+ * @ogam_rom_caps: pre-defined 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
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amd/display: kernel-doc: document mpc_color_caps.num_rmcm_3dluts
  2025-09-19 20:30 [PATCH] drm/amd/display: kernel-doc: document mpc_color_caps.num_rmcm_3dluts Akiyoshi Kurita
@ 2025-09-29 23:02 ` Alex Hung
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Hung @ 2025-09-29 23:02 UTC (permalink / raw)
  To: Akiyoshi Kurita, amd-gfx
  Cc: harry.wentland, sunpeng.li, siqueira, alexander.deucher,
	christian.koenig, airlied, dri-devel, linux-kernel

kernel-doc for num_rmcm_3dluts is updated in the following commit in 
amd-staging-drm-next:

380366f6d35d drm/amd/display: Document num_rmcm_3dluts in mpc_color_caps

On 9/19/25 14:30, Akiyoshi Kurita wrote:
> Add the missing @num_rmcm_3dluts field description to silence a
> kernel-doc warning. While here, fix a typo in the same block
> ("pre-definied" -> "pre-defined") and clarify the oGAM description.
> 
> No functional change.
> 
> Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
> ---
>   drivers/gpu/drm/amd/display/dc/dc.h | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index f24e1da68269..144de7b3ed49 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -231,12 +231,12 @@ struct lut3d_caps {
>    * plane combined blocks
>    *
>    * @gamut_remap: color transformation matrix
> - * @ogam_ram: programmable out gamma LUT
> + * @ogam_ram: programmable output gamma (oGAM) LUT
>    * @ocsc: output color space conversion matrix
>    * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
> - * @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
> + * @num_rmcm_3dluts: number of RMCM 3D LUT instances supported by MPC (0 if unsupported)
> + * @shared_3d_lut: shared 3D LUT flag. Can be either DPP or MPC, but single instance
> + * @ogam_rom_caps: pre-defined 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-29 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19 20:30 [PATCH] drm/amd/display: kernel-doc: document mpc_color_caps.num_rmcm_3dluts Akiyoshi Kurita
2025-09-29 23:02 ` Alex Hung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox