[PATCH] drm/amd/display: Add kernel-doc for mpc_funcs.mcm and rmcm
Abdelrahman Fekry
abdelrahmanfekry375 at gmail.com
Sat Jun 14 10:37:09 UTC 2025
This patch fixes documentation build warnings:
- WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068
struct member 'mcm' not described in 'mpc_funcs'
- WARNING: ./drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:1068
struct member 'rmcm' not described in 'mpc_funcs'
Signed-off-by: Abdelrahman Fekry <abdelrahmanfekry375 at gmail.com>
---
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 15 +++++++++++++++
1 file changed, 15 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 6e303b81bfb0..ac2957c9fdd2 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
@@ -1038,6 +1038,16 @@ struct mpc_funcs {
*/
void (*program_3dlut_size)(struct mpc *mpc, bool is_17x17x17, int mpcc_id);
+ /**
+ * @mcm: Multi-Channel Mode configuration operations
+ *
+ * Contains functions for programming Multi-Channel Mode features:
+ * - 3D LUT sizing
+ * - Bias/scale programming
+ * - Bit depth configuration
+ * - LUT read/write control
+ * - LUT population
+ */
struct {
void (*program_3dlut_size)(struct mpc *mpc, uint32_t width, int mpcc_id);
void (*program_bias_scale)(struct mpc *mpc, uint16_t bias, uint16_t scale, int mpcc_id);
@@ -1050,6 +1060,11 @@ struct mpc_funcs {
bool lut_bank_a, int mpcc_id);
} mcm;
+ /**
+ * @rmcm: Remove Multi-Channel Mode configuration operations
+ *
+ * Contains functions for removing or resetting Multi-Channel Mode features
+ */
struct {
void (*enable_3dlut_fl)(struct mpc *mpc, bool enable, int mpcc_id);
void (*update_3dlut_fast_load_select)(struct mpc *mpc, int mpcc_id, int hubp_idx);
--
2.25.1
More information about the dri-devel
mailing list