Skip to contentSkip to conversation

drm/amd/display: Document num_rmcm_3dluts in mpc_color_caps

PATCH Applied Kavithesh A.S 3 participants 4 messages Aug 23, 2025 – Aug 27, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Document num_rmcm_3dluts in mpc_color_caps

Fix a kernel-doc warning by documenting the num_rmcm_3dluts member of struct mpc_color_caps.

This is my first patch submission to the kernel, feedback is welcome

---
 drivers/gpu/drm/amd/display/dc/dc.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 59c077561..06f05979b 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
  * @ogam_ram: programmable out gamma LUT
  * @ocsc: output color space conversion matrix
  * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM 3D LUTS supported
  * @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
Signature · 1 line
2.43.0
Applied
#1 lore raw

Applied. Thanks!

Alex

Quoted 24 lines · Kavithesh A.S

Fix a kernel-doc warning by documenting the num_rmcm_3dluts member of struct mpc_color_caps.

This is my first patch submission to the kernel, feedback is welcome

---
 drivers/gpu/drm/amd/display/dc/dc.h | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -1
index 59c077561..06f05979b 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
  * @ogam_ram: programmable out gamma LUT
  * @ocsc: output color space conversion matrix
  * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM 3D LUTS supported
  * @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
--

2.43.0

#2 lore raw
Quoted 14 lines · Alex Deucher

Applied. Thanks!

Alex

Quoted 9 lines · Kavithesh A.S

Fix a kernel-doc warning by documenting the num_rmcm_3dluts member of struct mpc_color_caps.

This is my first patch submission to the kernel, feedback is welcome

---
  drivers/gpu/drm/amd/display/dc/dc.h | 1 +
  1 file changed, 1 insertion(+)
Quoted 9 lines

drivers/gpu/drm/amd/display/dc/dc.h struct lut3d_caps { · line 237

Quoted 9 lines
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 59c077561..06f05979b 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
   * @ogam_ram: programmable out gamma LUT
   * @ocsc: output color space conversion matrix
   * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM 3D LUTS supported

A bit late to comment, but I think you should keep the "always assumes a preceding shaper LUT" part. This info is still very useful and links shaper LUT caps to this attribute.

Melissa

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/amd/display/dc/dc.h +0 -1
   * @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
--

2.43.0

#3 lore raw
Quoted 18 lines · Melissa Wen
Quoted 14 lines · Alex Deucher

Applied. Thanks!

Alex

Quoted 9 lines · Kavithesh A.S

Fix a kernel-doc warning by documenting the num_rmcm_3dluts member of struct mpc_color_caps.

This is my first patch submission to the kernel, feedback is welcome

---
  drivers/gpu/drm/amd/display/dc/dc.h | 1 +
  1 file changed, 1 insertion(+)
Quoted 12 lines
Quoted 9 lines

drivers/gpu/drm/amd/display/dc/dc.h struct lut3d_caps { · line 237

Quoted 9 lines
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
index 59c077561..06f05979b 100644
@@ -234,6 +234,7 @@ struct lut3d_caps {
   * @ogam_ram: programmable out gamma LUT
   * @ocsc: output color space conversion matrix
   * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
+ * @num_rmcm_3dluts: number of RMCM 3D LUTS supported

A bit late to comment, but I think you should keep the "always assumes a preceding shaper LUT" part.
This info is still very useful and links shaper LUT caps to this attribute.

I'll add that before I push it.

Alex

Quoted 9 lines

Melissa

Quoted 5 lines
Quoted 5 lines
drivers/gpu/drm/amd/display/dc/dc.h +0 -1
   * @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
--

2.43.0