[V2] drm/amdgpu: Fix documentaion for dm_dmub_outbox1_low_irq

Alex Deucher alexdeucher at gmail.com
Tue Jul 20 14:49:46 UTC 2021


On Tue, Jul 20, 2021 at 10:30 AM Anson Jacob <Anson.Jacob at amd.com> wrote:
>
> Fix make htmldocs complaint:
> ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:628: warning: Excess function parameter 'interrupt_params' description in 'DMUB_TRACE_MAX_READ'
>
> v2:
> Moved DMUB_TRACE_MAX_READ macro above function documentation
>
> Signed-off-by: Anson Jacob <Anson.Jacob at amd.com>
> CC: Harry Wentland <harry.wentland at amd.com>

Acked-by: Alex Deucher <alexander.deucher at amd.com>

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 7ed104e3756b..829d31e04f09 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -618,6 +618,7 @@ static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params)
>  }
>  #endif
>
> +#define DMUB_TRACE_MAX_READ 64
>  /**
>   * dm_dmub_outbox1_low_irq() - Handles Outbox interrupt
>   * @interrupt_params: used for determining the Outbox instance
> @@ -625,7 +626,6 @@ static void dm_dcn_vertical_interrupt0_high_irq(void *interrupt_params)
>   * Handles the Outbox Interrupt
>   * event handler.
>   */
> -#define DMUB_TRACE_MAX_READ 64
>  static void dm_dmub_outbox1_low_irq(void *interrupt_params)
>  {
>         struct dmub_notification notify;
> --
> 2.25.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list