[PATCH 16/40] drm/amd/display/dc/bios/command_table_helper2: Fix legacy formatting problems

Alex Deucher alexdeucher at gmail.com
Fri Jan 8 20:40:18 UTC 2021


Applied.  Thanks!

Alex

On Fri, Jan 8, 2021 at 3:15 PM Lee Jones <lee.jones at linaro.org> wrote:
>
> Fixes the following W=1 kernel build warning(s):
>
>  drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table_helper2.c:145: warning: Function parameter or member 't' not described in 'dal_cmd_table_helper_transmitter_bp_to_atom2'
>
> Cc: Harry Wentland <harry.wentland at amd.com>
> Cc: Leo Li <sunpeng.li at amd.com>
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Cc: "Christian König" <christian.koenig at amd.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: amd-gfx at lists.freedesktop.org
> Cc: dri-devel at lists.freedesktop.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>
> ---
>  .../display/dc/bios/command_table_helper2.c   | 20 ++++++++-----------
>  1 file changed, 8 insertions(+), 12 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
> index 7736c92d55c40..455ee2be15a36 100644
> --- a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
> +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
> @@ -128,18 +128,14 @@ bool dal_cmd_table_helper_controller_id_to_atom2(
>  }
>
>  /**
> -* translate_transmitter_bp_to_atom
> -*
> -* @brief
> -*  Translate the Transmitter to the corresponding ATOM BIOS value
> -*
> -* @param
> -*   input transmitter
> -*   output digitalTransmitter
> -*    // =00: Digital Transmitter1 ( UNIPHY linkAB )
> -*    // =01: Digital Transmitter2 ( UNIPHY linkCD )
> -*    // =02: Digital Transmitter3 ( UNIPHY linkEF )
> -*/
> + * translate_transmitter_bp_to_atom2 - Translate the Transmitter to the
> + *                                     corresponding ATOM BIOS value
> + *  @t: transmitter
> + *  returns: digitalTransmitter
> + *    // =00: Digital Transmitter1 ( UNIPHY linkAB )
> + *    // =01: Digital Transmitter2 ( UNIPHY linkCD )
> + *    // =02: Digital Transmitter3 ( UNIPHY linkEF )
> + */
>  uint8_t dal_cmd_table_helper_transmitter_bp_to_atom2(
>         enum transmitter t)
>  {
> --
> 2.25.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the amd-gfx mailing list