Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2903559pxt; Mon, 9 Aug 2021 11:33:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxADSHGo15oPrrHJT5pFk4fAfTFQHCq8DiLRySjlArt9eTLwzzSXsl4KbyN7jp3KJ03/buE X-Received: by 2002:a17:907:105d:: with SMTP id oy29mr9211827ejb.531.1628534024941; Mon, 09 Aug 2021 11:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628534024; cv=none; d=google.com; s=arc-20160816; b=GNIQJiPHoKEabAGq8eOsYaRnjzV3ydX+adBfJ79e2WzZxm8A8beTf0nr/on0mPMoDi XsX6LxqNbfm6PWnCFFZKMsc4bFG5VFtt9lVPgKMcYckGv+9r5k7rYPG61qr5i0qZ+Qtt tUZeVNcYwjMvL4YvGdF3soScPR9SMd4CtHC7UltHyJ+wac6iQozywpIhp6QaYN5yTC7h NS2taxDTMw1z3udRPRzuczalj+JmSN/awM4jzrfMtcU86gJkbb04BuXqHDPnBXBYyapd MLuCHdIRMSJTb98JABE1dtXvQQCtNQ1mLRVU1R+7R8OSCTRWJ78L3sapSIMntFxOIBhN t+hg== 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=Q+P56kv9bQ232dCkEySITmYOrGM+KOpFmBwsjS+8fhg=; b=TyvADVgfa3/KMikanqVl8pNViNcYtkfusYUPpgzmn8yYrog5RMUjHFWqov/DO9flIX Tkld9cyzsBEEv7sG5BzVrHH3HFIIW4FkFn8dmQD0WrGcTGFnI1O3YNC3UPtI6ju46kEU hcPIO6JcSsPixsFYpxzH+b8pMx3N0oaDh0OILgocULmv8wwRYX47Jgk9HFwzaI9yKBL0 DIQW2io2TE0KNtZNaFOKkXn9UY0V1qdbH2yQn9e6KrHKEfGwfFzLT6qe7rVySb1/Tytk 7dzZpH9aVpz07drd5u9q/S10JffhwhXBCFs1OTktsAxZapUayDNP78wSBQH+5PrieV3o oPWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WkUUG5bG; 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 q10si7905474ejz.729.2021.08.09.11.33.21; Mon, 09 Aug 2021 11:33:44 -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=WkUUG5bG; 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 S235177AbhHIS3A (ORCPT + 99 others); Mon, 9 Aug 2021 14:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232130AbhHIS27 (ORCPT ); Mon, 9 Aug 2021 14:28:59 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3DBFC0613D3 for ; Mon, 9 Aug 2021 11:28:38 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 61-20020a9d0d430000b02903eabfc221a9so19074360oti.0 for ; Mon, 09 Aug 2021 11:28:38 -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=Q+P56kv9bQ232dCkEySITmYOrGM+KOpFmBwsjS+8fhg=; b=WkUUG5bGWhQhQe25Xl2P/LeoFg4SyCoanFWnc4QYT6bgwTvHi/lBciWY3nGzny5EXU /31VZJ92VmwAG20/xpLWe2+qAEDLYEvHRNvAd50DMMdyc5LhAcXEXqQPwLQCzRtW4HXk P3UJSuYeNCRSw/O+V7DFdHFiOTwUlHEfSHyf5B1JBjgETFpleeSPNA+8LvFD9vAtHGKr RlDMOii0yNXocGLSrJeHi34l6CfBQRwUj9BnmNQQY02giQQXFNXhMpawjstNaiIFjthw tkh+fRm+brKZjJCrTC8HRtHBCIgMxB0KNyavNUylFzby84MH5vrwYaF8LAKS3EkxTlRz lLfA== 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=Q+P56kv9bQ232dCkEySITmYOrGM+KOpFmBwsjS+8fhg=; b=dwUEKy9mi10net8HYZzpf/OCSe6pmIMSCFwq99k6o0zS14WmSvooC4DuoX75lT+wfl G/lL07nedtHUdP5wtOQ37VbH88WWzSyItNtF/XpgLqdhO6YrP4GBURfuMiZ7z9Hpsrkx B30YRMZ4zgQWMP/N53Zoc+eNzzW9PMt63sNgGMLtlrj3cJd1LGAnDWoMW7mArwrypwf7 P2IL8P6Q2OeKLWilP7VvU7nVtYSksWZY/nS9Au2zNf71APFhwVzKJlyYapbf2a+hNpGz rNI9Echgaeq3wbMFMvFDUTZkh/MnkqI4yDGaXiuRaBr8ZGgODnsImDGR/O0cYnBJpdQM xo6w== X-Gm-Message-State: AOAM532bsEms262KJAed5pzHS9o4jLDvdwXqZPVe7vJx9vlJqy7HTzCT 6gq+nzUcHTr9B1boPH5ADuel5Ae4fv/khkH2l1g= X-Received: by 2002:a9d:70c3:: with SMTP id w3mr17546162otj.311.1628533718180; Mon, 09 Aug 2021 11:28:38 -0700 (PDT) MIME-Version: 1.0 References: <20210807233842.13545-1-rdunlap@infradead.org> In-Reply-To: <20210807233842.13545-1-rdunlap@infradead.org> From: Alex Deucher Date: Mon, 9 Aug 2021 14:28:27 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: fix kernel-doc warnings on non-kernel-doc comments To: Randy Dunlap Cc: LKML , kernel test robot , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , Dennis Li , amd-gfx list , Maling list - DRI developers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 7, 2021 at 7:38 PM Randy Dunlap wrote: > > Don't use "begin kernel-doc notation" (/**) for comments that are > not kernel-doc. This eliminates warnings reported by the 0day bot. > > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:89: warning: This comment starts = with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/k= ernel-doc.rst > * This shader is used to clear VGPRS and LDS, and also write the inpu= t > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:209: warning: This comment starts= with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/= kernel-doc.rst > * The below shaders are used to clear SGPRS, and also write the input > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c:301: warning: This comment starts= with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/= kernel-doc.rst > * This shader is used to clear the uninitiated sgprs after the above > > Fixes: 0e0036c7d13b ("drm/amdgpu: fix no full coverage issue for gprs ini= tialization") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Alex Deucher > Cc: Christian K=C3=B6nig > Cc: "Pan, Xinhui" > Cc: Dennis Li > Cc: amd-gfx@lists.freedesktop.org > Cc: dri-devel@lists.freedesktop.org Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > --- linux-next-20210806.orig/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c > +++ linux-next-20210806/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c > @@ -85,7 +85,7 @@ static const struct soc15_reg_golden gol > SOC15_REG_GOLDEN_VALUE(GC, 0, regTCI_CNTL_3, 0xff, 0x20), > }; > > -/** > +/* > * This shader is used to clear VGPRS and LDS, and also write the input > * pattern into the write back buffer, which will be used by driver to > * check whether all SIMDs have been covered. > @@ -206,7 +206,7 @@ const struct soc15_reg_entry vgpr_init_r > { SOC15_REG_ENTRY(GC, 0, regCOMPUTE_STATIC_THREAD_MGMT_SE7), 0xff= ffffff }, > }; > > -/** > +/* > * The below shaders are used to clear SGPRS, and also write the input > * pattern into the write back buffer. The first two dispatch should be > * scheduled simultaneously which make sure that all SGPRS could be > @@ -302,7 +302,7 @@ const struct soc15_reg_entry sgpr96_init > { SOC15_REG_ENTRY(GC, 0, regCOMPUTE_STATIC_THREAD_MGMT_SE7), 0xff= ffffff }, > }; > > -/** > +/* > * This shader is used to clear the uninitiated sgprs after the above > * two dispatches, because of hardware feature, dispath 0 couldn't clear > * top hole sgprs. Therefore need 4 waves per SIMD to cover these sgprs