drm/amd/display: Fix kernel docs for struct mpc_color_caps
Subsystems (3)
PATCH 1/1 drm/amd/display: Fix kernel docs for struct mpc_color_caps
[WHAT & HOW]
Add kernel-doc for a new struct member "num_rmcm_3dluts".
This fixes the follow warnings from "make htmldocs".
./drivers/gpu/drm/amd/display/dc/dc.h:255: warning: Function parameter or struct member 'num_rmcm_3dluts' not described in 'mpc_color_caps'
Reviewed-by Yihan Zhu <[email protected]>
Signed-off-by Alex Hung <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dc.h | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/dc.h +1 -0
@@ -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 hardware instances * @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
Quoted 11 lines · Alex Hung
[WHAT & HOW]
Add kernel-doc for a new struct member "num_rmcm_3dluts".This fixes the follow warnings from "make htmldocs".
./drivers/gpu/drm/amd/display/dc/dc.h:255: warning: Function parameter or struct member 'num_rmcm_3dluts' not described in 'mpc_color_caps'Reviewed-by Yihan Zhu <[email protected]>Signed-off-by Alex Hung <[email protected]>
Reported-by Stephen Rothwell <[email protected]>
Fixes 26ad78fffc66 ("drm/amd/display: MPC basic allocation logic and TMZ")
Quoted 19 lines
--- drivers/gpu/drm/amd/display/dc/dc.h | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/display/dc/dc.h +1
-1@@ -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 hardware instances * @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