Re: [PATCH 40/40] drm/amd/display/dc/core/dc_stream: Demote non-conformant kernel-doc headers

2021-01-12 Thread Alex Deucher
On Mon, Jan 11, 2021 at 2:20 PM Lee Jones  wrote:
>
> Fixes the following W=1 kernel build warning(s):
>
>  drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:253: warning: 
> Function parameter or member 'pStream' not described in 
> 'dc_optimize_timing_for_fsft'
>  drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:253: warning: 
> Function parameter or member 'max_input_rate_in_khz' not described in 
> 'dc_optimize_timing_for_fsft'
>  drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:270: warning: 
> Function parameter or member 'stream' not described in 
> 'dc_stream_set_cursor_attributes'
>  drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:270: warning: 
> Function parameter or member 'attributes' not described in 
> 'dc_stream_set_cursor_attributes'
>
> Cc: Harry Wentland 
> Cc: Leo Li 
> Cc: Alex Deucher 
> Cc: "Christian König" 
> Cc: David Airlie 
> Cc: Daniel Vetter 
> Cc: amd-...@lists.freedesktop.org
> Cc: dri-devel@lists.freedesktop.org
> Signed-off-by: Lee Jones 

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c 
> b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
> index c103f858375d0..25fa712a78474 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
> @@ -244,7 +244,7 @@ struct dc_stream_status *dc_stream_get_status(
>  }
>
>  #ifndef TRIM_FSFT
> -/**
> +/*
>   * dc_optimize_timing_for_fsft() - dc to optimize timing
>   */
>  bool dc_optimize_timing_for_fsft(
> @@ -260,8 +260,7 @@ bool dc_optimize_timing_for_fsft(
>  }
>  #endif
>
> -
> -/**
> +/*
>   * dc_stream_set_cursor_attributes() - Update cursor attributes and set 
> cursor surface address
>   */
>  bool dc_stream_set_cursor_attributes(
> --
> 2.25.1
>
> ___
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH 40/40] drm/amd/display/dc/core/dc_stream: Demote non-conformant kernel-doc headers

2021-01-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:253: warning: 
Function parameter or member 'pStream' not described in 
'dc_optimize_timing_for_fsft'
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:253: warning: 
Function parameter or member 'max_input_rate_in_khz' not described in 
'dc_optimize_timing_for_fsft'
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:270: warning: 
Function parameter or member 'stream' not described in 
'dc_stream_set_cursor_attributes'
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:270: warning: 
Function parameter or member 'attributes' not described in 
'dc_stream_set_cursor_attributes'

Cc: Harry Wentland 
Cc: Leo Li 
Cc: Alex Deucher 
Cc: "Christian König" 
Cc: David Airlie 
Cc: Daniel Vetter 
Cc: amd-...@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones 
---
 drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c 
b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
index c103f858375d0..25fa712a78474 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c
@@ -244,7 +244,7 @@ struct dc_stream_status *dc_stream_get_status(
 }
 
 #ifndef TRIM_FSFT
-/**
+/*
  * dc_optimize_timing_for_fsft() - dc to optimize timing
  */
 bool dc_optimize_timing_for_fsft(
@@ -260,8 +260,7 @@ bool dc_optimize_timing_for_fsft(
 }
 #endif
 
-
-/**
+/*
  * dc_stream_set_cursor_attributes() - Update cursor attributes and set cursor 
surface address
  */
 bool dc_stream_set_cursor_attributes(
-- 
2.25.1

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel