Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp5585165rwb; Wed, 9 Aug 2023 06:28:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH8TNF0N/IouocQNYFVPP+RkngaNPrdOP4VuEEF9piwa6ps9NDlOk8+EBu81Pj7H52Sh5kG X-Received: by 2002:a17:906:1010:b0:992:bc8:58e4 with SMTP id 16-20020a170906101000b009920bc858e4mr1736216ejm.20.1691587735085; Wed, 09 Aug 2023 06:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691587735; cv=none; d=google.com; s=arc-20160816; b=mWEjJ2cZMysNZ0pFt8D3ygl0/nUrLeiIqPDdsN4/0AlfzbPFiya3KSWQS+LFCSduS8 KBSjZwBtXfuwhr3TTDrdy4BXIza69Vw7XRqNDSE3uHKcsqu0be5kGDgmRAni+U8jb+1B OJzYkYkKii4nuluu7UeoNO/s9G3zHkgVCO3vZ91F3EGoq3JsMMciTR5X7eBUtsL0QXq6 9FoN+gLUqkSANV2kprlk8NDit3dyVURGS1apkKYpzJaF3erSNSYiYCPyBMqOxLLeoqPB hX2SORmeNb0k2eOgaN2iK0FZywdpm4Wc82B3l6igtoB+OgS+932Qy920/yZ+vK5AJ6uT aW1w== 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=NMffwnQubDmr3m89sLgQURQ081HebwaWlxgqzFDRRig=; fh=3QT/mkaMpZhr5SC8HyVnG7SklBmehkJlKaR8EBHDwSg=; b=xqNiZ34Sicbln4eM4KCvHBbDkl7lvjvlVe/x0y1fJ6iRmTwPNlot6ECbyOfiZbr8qL dBAjIBQBpXtNESibOwA9BWzrpb7OFhhMrPl9fx8K6iGCVpf5BT71VadcXYlL+Hyhg67J /TXT0pQU9a33fOJBxW2qfs8WwyMV/VpqhgBug94xyze6TPchb90TKGaAe88EGDR8OLpZ 2gxWhc3fJSGsOWAtd6Y1AV3Xm56XrpBZhK6B+SIUthxzLPUi70JjbjurqZgXNAKvEcBA //TxNFmBrSfF/OX4aM9gkEhBIULIuKjpaHqYwL1NGr1SfqbkVYXrM3DqYxEsSQy+srO4 uSIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=BSzOFLXk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx19-20020a170906ca5300b009929eee322dsi8464481ejb.180.2023.08.09.06.28.30; Wed, 09 Aug 2023 06:28:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=BSzOFLXk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231532AbjHINFX (ORCPT + 99 others); Wed, 9 Aug 2023 09:05:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230038AbjHINFV (ORCPT ); Wed, 9 Aug 2023 09:05:21 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7447D10C for ; Wed, 9 Aug 2023 06:05:19 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3a74d759be4so5066529b6e.2 for ; Wed, 09 Aug 2023 06:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691586319; x=1692191119; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NMffwnQubDmr3m89sLgQURQ081HebwaWlxgqzFDRRig=; b=BSzOFLXkMELYLuxEcRiQoewWXGwLzLIHYKjcxfz+eCBzoUFRwc5NgWfV97sNLzWznk KAwLhS783puSZhul7vTr6a+wgyqX9bR6jfxd7dOg1Nt0pMgRv01o7yOVsfj44wL40Red B7u998bo4nPOYIwzDQGf+jAN9MM4wwVsImU4Apis7XMdx6kLdx6Jwzv+IUOIR4JtDeks S12NJlFXyS3tJMPnk6p9mHM9rG6CE9xqHm3tJ4gLHGTFwH1OC2P5HPOHvtfvmcAI1/Tg 9q6F5QVhVPvSJIjYEEZgehAqDOqA2fum1nULjAZ4LX4pK5BC3YmUSarrNv8S635dPZBi IY0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691586319; x=1692191119; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NMffwnQubDmr3m89sLgQURQ081HebwaWlxgqzFDRRig=; b=EYnfmr3JYZKsLGpyO7fiK+N4b2tPPMWhGpCVB7/YtixROyx8rHfBsBNmTtPc1eXVKd icCBGIKdNBIWqCynA8xDEuHSNUJAqw1lZX/+WtaciT/fRz65OXr18WkVgO0llNAH646i NY3Sw9gygUS0KV2fcVHbtLZYZLFSwXwHwtNSHDdO9/6xGLY087g7Nq52AkXCrfEIweNc U4O247ERc1xYFCoasH2JU9h208f0wPKc/qyuxYIevfB0ycztPa+PgH/DzCuWou+KVXmn AoSqjiMCaEZbLwb7BjO8v30jpN6I47uUXBjafnD1LIEnVr1AKISLc5cNc/v7+vs9Ha8O eTbw== X-Gm-Message-State: AOJu0Yw7uF+OMx05JENZKovXbPAAMvmY37DgllQ+2JefZ2sbe+vq7zeG bfUuao0M2ZWv0npLtKIBU854NZZCvJ9Lnr27I0Q= X-Received: by 2002:a54:460e:0:b0:3a4:8590:90f2 with SMTP id p14-20020a54460e000000b003a4859090f2mr2830780oip.47.1691586318709; Wed, 09 Aug 2023 06:05:18 -0700 (PDT) MIME-Version: 1.0 References: <20230808232627.21168-1-rdunlap@infradead.org> In-Reply-To: <20230808232627.21168-1-rdunlap@infradead.org> From: Alex Deucher Date: Wed, 9 Aug 2023 09:05:06 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: dmub_replay: don't use kernel-doc markers To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, "Pan, Xinhui" , kernel test robot , Leo Li , Bhawanpreet Lakha , Rodrigo Siqueira , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Tue, Aug 8, 2023 at 7:26=E2=80=AFPM Randy Dunlap = wrote: > > These functions don't use kernel-doc notation for comments so > don't begin each comment block with the "/**" kernel-doc marker. > > This prevents a bunch of kernel-doc warnings: > > dmub_replay.c:37: warning: This comment starts with '/**', but isn't a ke= rnel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > dmub_replay.c:37: warning: missing initial short description on line: > * Get Replay state from firmware. > dmub_replay.c:66: warning: This comment starts with '/**', but isn't a ke= rnel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > dmub_replay.c:66: warning: missing initial short description on line: > * Enable/Disable Replay. > dmub_replay.c:116: warning: This comment starts with '/**', but isn't a k= ernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > dmub_replay.c:116: warning: missing initial short description on line: > * Set REPLAY power optimization flags. > dmub_replay.c:134: warning: This comment starts with '/**', but isn't a k= ernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst > dmub_replay.c:134: warning: missing initial short description on line: > * Setup Replay by programming phy registers and sending replay hw contex= t values to firmware. > and 10 more similar warnings. > > Fixes: c7ddc0a800bc ("drm/amd/display: Add Functions to enable Freesync P= anel Replay") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Link: lore.kernel.org/r/202308081459.US5rLYAY-lkp@intel.com > Cc: Bhawanpreet Lakha > Cc: Harry Wentland > Cc: Alex Deucher > Cc: Leo Li > Cc: Rodrigo Siqueira > Cc: amd-gfx@lists.freedesktop.org > Cc: Christian K=C3=B6nig > Cc: "Pan, Xinhui" > Cc: dri-devel@lists.freedesktop.org > --- > drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c | 18 ++++++------- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff -- a/drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c b/drivers/gpu/= drm/amd/display/dc/dce/dmub_replay.c > --- a/drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c > +++ b/drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c > @@ -33,7 +33,7 @@ > > #define MAX_PIPES 6 > > -/** > +/* > * Get Replay state from firmware. > */ > static void dmub_replay_get_state(struct dmub_replay *dmub, enum replay_= state *state, uint8_t panel_inst) > @@ -62,7 +62,7 @@ static void dmub_replay_get_state(struct > } > } > > -/** > +/* > * Enable/Disable Replay. > */ > static void dmub_replay_enable(struct dmub_replay *dmub, bool enable, bo= ol wait, uint8_t panel_inst) > @@ -112,7 +112,7 @@ static void dmub_replay_enable(struct dm > > } > > -/** > +/* > * Set REPLAY power optimization flags. > */ > static void dmub_replay_set_power_opt(struct dmub_replay *dmub, unsigned= int power_opt, uint8_t panel_inst) > @@ -130,7 +130,7 @@ static void dmub_replay_set_power_opt(st > dm_execute_dmub_cmd(dc, &cmd, DM_DMUB_WAIT_TYPE_WAIT); > } > > -/** > +/* > * Setup Replay by programming phy registers and sending replay hw conte= xt values to firmware. > */ > static bool dmub_replay_copy_settings(struct dmub_replay *dmub, > @@ -215,7 +215,7 @@ static bool dmub_replay_copy_settings(st > return true; > } > > -/** > +/* > * Set coasting vtotal. > */ > static void dmub_replay_set_coasting_vtotal(struct dmub_replay *dmub, > @@ -234,7 +234,7 @@ static void dmub_replay_set_coasting_vto > dm_execute_dmub_cmd(dc, &cmd, DM_DMUB_WAIT_TYPE_WAIT); > } > > -/** > +/* > * Get Replay residency from firmware. > */ > static void dmub_replay_residency(struct dmub_replay *dmub, uint8_t pane= l_inst, > @@ -267,7 +267,7 @@ static const struct dmub_replay_funcs re > .replay_residency =3D dmub_replay_residency, > }; > > -/** > +/* > * Construct Replay object. > */ > static void dmub_replay_construct(struct dmub_replay *replay, struct dc_= context *ctx) > @@ -276,7 +276,7 @@ static void dmub_replay_construct(struct > replay->funcs =3D &replay_funcs; > } > > -/** > +/* > * Allocate and initialize Replay object. > */ > struct dmub_replay *dmub_replay_create(struct dc_context *ctx) > @@ -293,7 +293,7 @@ struct dmub_replay *dmub_replay_create(s > return replay; > } > > -/** > +/* > * Deallocate Replay object. > */ > void dmub_replay_destroy(struct dmub_replay **dmub)