Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: Correct and remove excess function parameter names in kdoc

Fixes the following gcc with W=1:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c:872: warning: Excess function parameter 'drr_pipe' description in 'subvp_drr_schedulable'
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c:1030: warning: Cannot understand * ****************************************************

Cc: Stylon Wang <stylon.wang@amd.com>
Cc: Hamza Mahfooz <hamza.mahfooz@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Srinivasan Shanmugam and committed by
Alex Deucher
8b42e93b f9d9745a

+5 -9
+5 -9
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
··· 854 854 } 855 855 856 856 /** 857 - * subvp_drr_schedulable - Determine if SubVP + DRR config is schedulable 857 + * subvp_drr_schedulable() - Determine if SubVP + DRR config is schedulable 858 858 * @dc: current dc state 859 859 * @context: new dc state 860 - * @drr_pipe: DRR pipe_ctx for the SubVP + DRR config 861 860 * 862 861 * High level algorithm: 863 862 * 1. Get timing for SubVP pipe, phantom pipe, and DRR pipe ··· 1026 1027 } 1027 1028 1028 1029 /** 1029 - * ************************************************************************************************ 1030 - * subvp_subvp_admissable: Determine if subvp + subvp config is admissible 1030 + * subvp_subvp_admissable() - Determine if subvp + subvp config is admissible 1031 1031 * 1032 - * @param [in]: dc: Current DC state 1033 - * @param [in]: context: New DC state to be programmed 1032 + * @dc: Current DC state 1033 + * @context: New DC state to be programmed 1034 1034 * 1035 1035 * SubVP + SubVP is admissible under the following conditions: 1036 1036 * - All SubVP pipes are < 120Hz OR 1037 1037 * - All SubVP pipes are >= 120hz 1038 1038 * 1039 - * @return: True if admissible, false otherwise 1040 - * 1041 - * ************************************************************************************************ 1039 + * Return: True if admissible, false otherwise 1042 1040 */ 1043 1041 static bool subvp_subvp_admissable(struct dc *dc, 1044 1042 struct dc_state *context)