On 2023-08-25 06:38, Srinivasan Shanmugam wrote:
Fixes the following W=1 kernel build warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:5261: warning: Cannot 
understand  *******************************************

Cc: Ian Chen <ian.c...@amd.com>
Cc: Rodrigo Siqueira <rodrigo.sique...@amd.com>
Cc: Harry Wentland <harry.wentl...@amd.com>
Cc: Aurabindo Pillai <aurabindo.pil...@amd.com>
Cc: Alex Deucher <alexander.deuc...@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmu...@amd.com>

Reviewed-by: Harry Wentland <harry.wentl...@amd.com>

Harry

---
  drivers/gpu/drm/amd/display/dc/core/dc.c | 7 +++++--
  1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c 
b/drivers/gpu/drm/amd/display/dc/core/dc.c
index 025e0fdf486d..ed225e1a1299 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
@@ -5258,13 +5258,16 @@ void dc_query_current_properties(struct dc *dc, struct 
dc_current_properties *pr
  }
/**
- *****************************************************************************
   * dc_set_edp_power() - DM controls eDP power to be ON/OFF
   *
   * Called when DM wants to power on/off eDP.
   *     Only work on links with flag skip_implict_edp_power_control is set.
   *
- *****************************************************************************
+ * @dc: Current DC state
+ * @edp_link: a link with eDP connector signal type
+ * @powerOn: power on/off eDP
+ *
+ * Return: void
   */
  void dc_set_edp_power(const struct dc *dc, struct dc_link *edp_link,
                                 bool powerOn)

Reply via email to