Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp228303pxj; Wed, 26 May 2021 21:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoSU6PnQupKBwSEjWJ8YJdoAa52qOGa27Rqi3ojb6QuWPG8BF8AXi4Tz37evD6ra2hiw1K X-Received: by 2002:a17:906:1185:: with SMTP id n5mr1765952eja.342.1622089728413; Wed, 26 May 2021 21:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622089728; cv=none; d=google.com; s=arc-20160816; b=U7GKPgcSfXz72hroUlu+AIttHU0MMG15rMyWEDpZ5LnFx1BWaFtUtQzKhLYS2jnvpJ QfD60AlP81frfIRcYS6VXc60BgXmqTkH64ZT5tiGkjbg4kjYyjwn0kyu9Aqk2MTMfVGi YDKxykhaSlfVzKhMLGNhzfvH/Dmdxo5qG0FKxkF9uNrWg1na7hkXbsNXdMGrrykWApHm kSTG4npEE/wkLks7t0lTw6AXtmp18ulNN2x6M2O0UNnBfiaBvZgKb28GMGJMIRYRzElp URnNUdUOl3pREH+gltwPsXnUr+krcdC4pYjnoQ+Epcesck2MJcMXldzRW8Ntp//5lW10 qcpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MAqtfQh3kqLNCeKLPTeKdUEM29PsijCc//DfraUHLwQ=; b=iiKTa/uM4i/jwPf76A9/tGRq6Abdur5GrtxryNFWOfVDXz8nkABmu/QPkCkIl7mJL2 WOFzOACZcn19ZZNT2HRejFjEnmauBG86Vwoc7MsFYgS9b+FHjNpublP0yQoLt4x4lawy NO+PR1BEGGs8BmPTHkPAl99LySlF3wdZU8GbfmPGfjIALAdX0aYq8z08E8v9ZaDqc190 2RlT2DGI+IUROqKpevHXvxCcUZlSe+NP2SX8OTYIggejpE7K+N4rIW7uuCYoH6k+0TkF t1+bwQj6OKWzqHXRw7f9pl2qklsJy16ZgqIgUr5k+WLTA+K5dSCk3/lIEgoYV5wUQXrL HC/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eqBhr8eA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si1323254ejw.685.2021.05.26.21.28.25; Wed, 26 May 2021 21:28:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eqBhr8eA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229751AbhE0E2T (ORCPT + 99 others); Thu, 27 May 2021 00:28:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbhE0E2S (ORCPT ); Thu, 27 May 2021 00:28:18 -0400 Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F400C061574 for ; Wed, 26 May 2021 21:26:45 -0700 (PDT) Received: by mail-oi1-x22d.google.com with SMTP id x15so3853370oic.13 for ; Wed, 26 May 2021 21:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MAqtfQh3kqLNCeKLPTeKdUEM29PsijCc//DfraUHLwQ=; b=eqBhr8eAXHo+lVRn+9mISIFH3Gy2q+Zk8dohqjdKoojg0OgqzwQqg/0IEaIiA0jsVW 6GaZ41eYjO/4AmuMb5xxcLJhsiXwAjOM8Qr6mDvVlQQzm1AAd5V/63pX8Sm0Pzi0NcJm gAh4bKbpmXUdqNzhxHUeks+X2gJEy5A0+DKQ6KsygLSrh2ui01rFbvoCLBDgXCFk3uyw QvUeEWGHZ0CvivmK8gqV+qPaIBcRvB0qZiCAeifLCaR3PyBEOdTi7y4uVyAZZA6SMPIY IBrx46ptfW+pDG3f1o/m9elVSGqs0PNpHr8abQWVO9k5py7B8jilH9Kv+4XTHyGLdK8O WEnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MAqtfQh3kqLNCeKLPTeKdUEM29PsijCc//DfraUHLwQ=; b=A+86SRLwAlF1FAACl6qTxQxwJi5pVqMWtvMeS/ju+KLhA8AX8z2hghGSaegrli+jXA 7lDu2bjp5aKy1S4Ojm340FwqTg2cmBnmEnSdakaDUzPzk4eOlPyIwZnQZCOJ69IeOsHj XxYnao5PxW29W9paDRIeKYJjPlIP7PlHLLfwJoLJIrkx9zaX217N2FzVAAHNyejTRfSH p0JtdKgaSDgMpgZPk5KRdiX560YhpjQz9ZTORNecjsgfIUNsOSM2peYoy1m4j9Leqi6a KDPV4SAMKxUDx/r02/zxciBCACu3ZD+wcl4DlOaUt+gMtjPXTmIvvLf/iS2gOz51N/A0 LgNA== X-Gm-Message-State: AOAM530Pzaw4jq3yvoffhTJCreYCvWLgIL8u/hwDcerogAI7ZKbSMwJN 5sYfO6iKTSxJ7YO4OgaRV0sjmPTK1JeL8nILCP/vXG4i X-Received: by 2002:a05:6808:1592:: with SMTP id t18mr1079682oiw.123.1622089604710; Wed, 26 May 2021 21:26:44 -0700 (PDT) MIME-Version: 1.0 References: <20210526084726.552052-1-lee.jones@linaro.org> <20210526084726.552052-23-lee.jones@linaro.org> In-Reply-To: <20210526084726.552052-23-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 27 May 2021 00:26:33 -0400 Message-ID: Subject: Re: [PATCH 22/34] drm/amd/display/dc/core/dc: Convert function headers to kernel-doc To: Lee Jones Cc: Leo Li , LKML , amd-gfx list , David Airlie , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Wed, May 26, 2021 at 4:48 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3324: warning: Cannot= understand **************************************************************= *************** > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3344: warning: Cannot= understand **************************************************************= *************** > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3417: warning: Cannot= understand **************************************************************= *************** > > Cc: Harry Wentland > Cc: Leo Li > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Lee Jones > --- > drivers/gpu/drm/amd/display/dc/core/dc.c | 46 ++++++------------------ > 1 file changed, 11 insertions(+), 35 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/a= md/display/dc/core/dc.c > index ef157b83bacd2..34c207f92df98 100644 > --- a/drivers/gpu/drm/amd/display/dc/core/dc.c > +++ b/drivers/gpu/drm/amd/display/dc/core/dc.c > @@ -3335,18 +3335,10 @@ void dc_hardware_release(struct dc *dc) > #endif > > /** > - ***********************************************************************= ****** > - * Function: dc_enable_dmub_notifications > + * dc_enable_dmub_notifications - Returns whether dmub notification can = be enabled > + * @dc: dc structure > * > - * @brief > - * Returns whether dmub notification can be enabled > - * > - * @param > - * [in] dc: dc structure > - * > - * @return > - * True to enable dmub notifications, False otherwise > - ***********************************************************************= ****** > + * Returns: True to enable dmub notifications, False otherwise > */ > bool dc_enable_dmub_notifications(struct dc *dc) > { > @@ -3355,21 +3347,13 @@ bool dc_enable_dmub_notifications(struct dc *dc) > } > > /** > - ***********************************************************************= ****** > - * Function: dc_process_dmub_aux_transfer_async > - * > - * @brief > - * Submits aux command to dmub via inbox message > - * Sets port index appropriately for legacy DDC > - * > - * @param > - * [in] dc: dc structure > - * [in] link_index: link index > - * [in] payload: aux payload > + * dc_process_dmub_aux_transfer_async - Submits aux command to dmub via = inbox message > + * Sets port index appropriately fo= r legacy DDC > + * @dc: dc structure > + * @link_index: link index > + * @payload: aux payload > * > - * @return > - * True if successful, False if failure > - ***********************************************************************= ****** > + * Returns: True if successful, False if failure > */ > bool dc_process_dmub_aux_transfer_async(struct dc *dc, > uint32_t link_index, > @@ -3428,16 +3412,8 @@ bool dc_process_dmub_aux_transfer_async(struct dc = *dc, > } > > /** > - ***********************************************************************= ****** > - * Function: dc_disable_accelerated_mode > - * > - * @brief > - * disable accelerated mode > - * > - * @param > - * [in] dc: dc structure > - * > - ***********************************************************************= ****** > + * dc_disable_accelerated_mode - disable accelerated mode > + * @dc: dc structure > */ > void dc_disable_accelerated_mode(struct dc *dc) > { > -- > 2.31.1 >