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

drm/amd/display: Correct kdoc formats in dcn32_resource_helpers.c

Fixes the following gcc with W=1:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource_helpers.c:285: warning: Function parameter or member 'dc' not described in 'dcn32_determine_det_override'
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource_helpers.c:285: warning: Function parameter or member 'context' not described in 'dcn32_determine_det_override'
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource_helpers.c:285: warning: Function parameter or member 'pipes' not described in 'dcn32_determine_det_override'
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource_helpers.c:624: warning: Cannot understand * *****************************************************************
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_resource_helpers.c:676: warning: Cannot understand * *****************************************************************

Cc: Alvin Lee <alvin.lee2@amd.com>
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>
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Srinivasan Shanmugam and committed by
Alex Deucher
2e1e62c8 9379c7a8

+12 -17
+12 -17
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
··· 273 273 * among those pipes. 274 274 * 4. Assign the DET override to the DML pipes. 275 275 * 276 - * @param [in]: dc: Current DC state 277 - * @param [in]: context: New DC state to be programmed 278 - * @param [in]: pipes: Array of DML pipes 276 + * @dc: Current DC state 277 + * @context: New DC state to be programmed 278 + * @pipes: Array of DML pipes 279 279 * 280 280 * Return: void 281 281 */ ··· 621 621 } 622 622 623 623 /** 624 - * ************************************************************************************************ 625 - * dcn32_subvp_drr_admissable: Determine if SubVP + DRR config is admissible 624 + * dcn32_subvp_drr_admissable() - Determine if SubVP + DRR config is admissible 626 625 * 627 - * @param [in]: dc: Current DC state 628 - * @param [in]: context: New DC state to be programmed 626 + * @dc: Current DC state 627 + * @context: New DC state to be programmed 629 628 * 630 629 * SubVP + DRR is admissible under the following conditions: 631 630 * - Config must have 2 displays (i.e., 2 non-phantom master pipes) ··· 632 633 * - Other display must have Freesync enabled 633 634 * - The potential DRR display must not be PSR capable 634 635 * 635 - * @return: True if admissible, false otherwise 636 - * 637 - * ************************************************************************************************ 636 + * Return: True if admissible, false otherwise 638 637 */ 639 638 bool dcn32_subvp_drr_admissable(struct dc *dc, struct dc_state *context) 640 639 { ··· 670 673 } 671 674 672 675 /** 673 - * ************************************************************************************************ 674 - * dcn32_subvp_vblank_admissable: Determine if SubVP + Vblank config is admissible 676 + * dcn32_subvp_vblank_admissable() - Determine if SubVP + Vblank config is admissible 675 677 * 676 - * @param [in]: dc: Current DC state 677 - * @param [in]: context: New DC state to be programmed 678 + * @dc: Current DC state 679 + * @context: New DC state to be programmed 680 + * @vlevel: Voltage level calculated by DML 678 681 * 679 682 * SubVP + Vblank is admissible under the following conditions: 680 683 * - Config must have 2 displays (i.e., 2 non-phantom master pipes) ··· 683 686 * - DML must have output DRAM clock change support as SubVP + Vblank 684 687 * - The potential vblank display must not be PSR capable 685 688 * 686 - * @return: True if admissible, false otherwise 687 - * 688 - * ************************************************************************************************ 689 + * Return: True if admissible, false otherwise 689 690 */ 690 691 bool dcn32_subvp_vblank_admissable(struct dc *dc, struct dc_state *context, int vlevel) 691 692 {