[12/20] drm/amd/amdgpu/amdgpu_device: Provide suitable description for param 'xcc_id'
Message ID | 20230824073710.2677348-13-lee@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp1096065vqm; Thu, 24 Aug 2023 05:53:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG7CTqMV+kuq3LcAuydkYGQu2MboYAscv+pvzi3cjwIVJrvMePGHVvB/5M7AN9LpVrXYdQd X-Received: by 2002:a05:6a21:2706:b0:142:aced:c643 with SMTP id rm6-20020a056a21270600b00142acedc643mr11244768pzb.31.1692881595900; Thu, 24 Aug 2023 05:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692881595; cv=none; d=google.com; s=arc-20160816; b=fPlYewayMSaKljcPlUUTkXESsLFf8F+c5IhVuXKyoGkr50qvXId7pNuMfabMo5QGD6 gX149pFewH69ZLiGFxvPNktrAtq8FnDpMQPnUAAyREdCIf9QIi4eERqf8LRPfXOico8a MX0DXbyBIbiWv2htt6xrs5xcBkHUseqK6MN6sZ+JhKn+z829JfIG8Btaao5X6QaIB2oH 3CXrcYcZg0ItUT+5UOaw7C/E2rqnVePF53GJbrRsK7p1Uj2Fz8ghJ0qRuUQTSg7zqHkI o+bnccj4zaZcZXhLwwnAgbKOF6ShqV9K7A6VlzWM0Md2T0TKROfFJGLPKU8VmXfAxSL9 IIew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4KtgIbIofcFvUSH9sQvqMweKnzwkYa3ccqdPDkFkFZc=; fh=XOIxKDELEpR0+mDHvXr/I5UVVXc6WZDxCGyIZ/ADMQk=; b=GkkAQ0d0TTa6DJur+LcEnjcWrysOfl+2T7QMEExTZrAnarYzk9faiomrQR52yee8PC HEhScDInfCLFVyNkfphvwkaB490oXmFSMbGLz7VM6sy2KY+uS2BvxNPmDL0dZtoqs4Cn rUlQB+/2CyOoqMzg47iWyFNMWQEEJypcTy4iYiFU/qlVw0kIbqmbcY7PpI5mUW5clXap P9PneC6r0um+lFYMqj/IlSo/ZyxaQ/7MgHY06dRskgcvU1Sz4NWwjUfVgGH8lOOskdt0 HJOzJQMxMyDz+LzHqUXZ5B21LfePZk4YkbrsvER20jOZQHahYgMvJmMKZmR+Q9x2xNjL zi/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fIKJHkj2; 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=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fi14-20020a056a00398e00b006873b49ae06si2636532pfb.287.2023.08.24.05.53.00; Thu, 24 Aug 2023 05:53:15 -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=@kernel.org header.s=k20201202 header.b=fIKJHkj2; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240486AbjHXHij (ORCPT <rfc822;kjyul0303@gmail.com> + 99 others); Thu, 24 Aug 2023 03:38:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240412AbjHXHiC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Aug 2023 03:38:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32AD210F7; Thu, 24 Aug 2023 00:38:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BAF7162349; Thu, 24 Aug 2023 07:38:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39DC7C433CA; Thu, 24 Aug 2023 07:37:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692862680; bh=wEDqvEDOA3vxGIk6EexeUNwMrFtaZlnfxVGm/bMEvr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fIKJHkj2WVKxeDY/g/PYgsJrPDBu4r0Q2mLQv1WsRpbImdKaDv6Sfi5UmzJHGHlZP /EzC9AQIvwtXl4YkhKBHfnpES4Kp8p0iTysNLX9AZzq9SmHEL4qzBlc/UUDiIZmAoO WjYmTlFojar9djx8fDMorymgkC55/WK22bS4j4KI6Q+CO7XDQuWtDYlT9f/Nr2wf96 7Mr2FJAUzQfB3jXamFypkoSKtt0meqhPSRXnRXM4yp9OFzESP3XmU5gNnoJF3G3mt2 4UY0GjWBH/koZ4QBgtg/CXHBCwTnJV3cKnMFbNPFwSUldIyq21t5k6dMjg1ZJQZmkQ XslXiYwP5lzgQ== From: Lee Jones <lee@kernel.org> To: lee@kernel.org Cc: linux-kernel@vger.kernel.org, Alex Deucher <alexander.deucher@amd.com>, =?utf-8?q?Christian_K=C3=B6nig?= <christian.koenig@amd.com>, "Pan, Xinhui" <Xinhui.Pan@amd.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Sumit Semwal <sumit.semwal@linaro.org>, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 12/20] drm/amd/amdgpu/amdgpu_device: Provide suitable description for param 'xcc_id' Date: Thu, 24 Aug 2023 08:36:57 +0100 Message-ID: <20230824073710.2677348-13-lee@kernel.org> X-Mailer: git-send-email 2.42.0.rc1.204.g551eb34607-goog In-Reply-To: <20230824073710.2677348-1-lee@kernel.org> References: <20230824073710.2677348-1-lee@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775115012124903163 X-GMAIL-MSGID: 1775115012124903163 |
Series |
Rid W=1 warnings from GPU
|
|
Commit Message
Lee Jones
Aug. 24, 2023, 7:36 a.m. UTC
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:516: warning: Function parameter or member 'xcc_id' not described in 'amdgpu_mm_wreg_mmio_rlc'
Signed-off-by: Lee Jones <lee@kernel.org>
---
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sumit Semwal <sumit.semwal@linaro.org>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Cc: linux-media@vger.kernel.org
Cc: linaro-mm-sig@lists.linaro.org
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index e77f048c99d85..d4f0e4327dd3f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -507,6 +507,7 @@ void amdgpu_device_wreg(struct amdgpu_device *adev, * @adev: amdgpu_device pointer * @reg: mmio/rlc register * @v: value to write + * @xcc_id: xcc accelerated compute core id * * this function is invoked only for the debugfs register access */