From patchwork Fri Mar 17 08:16:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 665877 Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013465wrv; Tue, 21 Mar 2023 23:21:35 -0700 (PDT) X-Google-Smtp-Source: AK7set91PltklUw3agT97Vp2QMAh1HYXi075FhiYuSqP2JdqDIJkj/VaLNBxNJSAdEUw/eia1DhD X-Received: by 2002:a05:6214:268a:b0:56c:4c11:553 with SMTP id gm10-20020a056214268a00b0056c4c110553mr1850845qvb.19.1679466095671; Tue, 21 Mar 2023 23:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466095; cv=none; d=google.com; s=arc-20160816; b=sYV6UrDKRNEnNbEL21mNiD/2vEx/5ReoGjxAsjDC5xVuZzdsC5msojhZiAhsk6KnOd gXdhYb2e1EprCLFzVTkJxlFtCbrz+hWXhH9n9L+o/MW5o2OokSM5yFcURcUD3nQEraXg 0PK4ZEJBbKkh/DZSoHZMJE9NASw3wGLe06+o93O7PJaYVoFNzFEMcYbiYXFe7CZGkuNv tidiEczk3waVaHixobK18qn3YukS80o+LeOPl1gzEz/HFXs25CQQ5ABuQ+8TuwBYHr45 yx8XhKxBN39swPNDRLihRcUOSbUiyZpPM0CoNkX3LwJyJQYQgTwNtOMbaYAV6c6vAlu+ 1DLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:list-unsubscribe:list-subscribe:list-post :list-owner:list-help:list-archive:archived-at:list-id:subject :precedence:cc:message-id-hash:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=Sunr7E6QtMNV2l37xx38ZK3+lhlhNgTsZ3iJzSlx/lM=; b=Qxdu/hI3ddEyl94nIMD94YgmER15UJxgBQ0W7O28SpkOt0PgqCy7I0p1L1a61o10iR FvWf1xEAFsn6P1rY751lcSzHWHeuo+nOpKjasvfkdQOXOw77w0jXEZMlltOt0aWCwprV XgcjJKn+irOm43F0uuk+y7CFfzrn5Hwo5DdjpkmGgvc9NVQuRmdhpU+tOGg1NDLz9O0W Bvy9eyPJ+yy40aydDvsE3TcmfSdD0zsoQDO6Mzl3rMOFcF7J4wqddv2mAdkDa4CCgWXd CYx8qB38kFIoO2c0Xu4903hfrG3h1Wpp3Iq4jtGHZF8nvuKHFSU5A2DySY8He10QQ453 k1rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=Sc2dZ7hm; spf=pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) smtp.mailfrom="linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lists.linaro.org (lists.linaro.org. [3.208.193.21]) by mx.google.com with ESMTPS id p141-20020a374293000000b0073b84a0ab04si9163463qka.651.2023.03.21.23.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) client-ip=3.208.193.21; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=Sc2dZ7hm; spf=pass (google.com: domain of linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org designates 3.208.193.21 as permitted sender) smtp.mailfrom="linaro-mm-sig-bounces+patches=linaro.org@lists.linaro.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from lists.linaro.org (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 545174479C for ; Wed, 22 Mar 2023 06:21:35 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lists.linaro.org (Postfix) with ESMTPS id 7FB8F3E8AA for ; Fri, 17 Mar 2023 08:22:26 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Sc2dZ7hm; spf=pass (lists.linaro.org: domain of lee@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=lee@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 20D2062227; Fri, 17 Mar 2023 08:22:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CE92C433D2; Fri, 17 Mar 2023 08:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041345; bh=g04ZINvTEUjQva4N99+CPauyQdfUwEB0MhvaHIAapKs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Sc2dZ7hmNkJXZcLAH4xdxUhtozrQARLpG00GRVEo8lrR/265Zwy+QVjRBN0WlDl1Z 5b83rLlgcL5FqU0BF5yn8ker+hLM6JH6rr1ltl1B1b4lNxjCCpa9m5I6gvJXLWHOg5 SseUWNOX92/4i3VazKURF9Oou5Odhqjpk3tIruCH5a47qwdhBzFOza7zMtSD8fsvle wDAgg5UGRjhQLa7j7LmEsKCaueoTsA33oz/6dlh4EZtjV0K2XogJoze8evjemc2cMm apqkoKz0MMtvvNOj9M6kER2y0z80ZQrFMM1mcKphlixj3IXN8hsAJ5i/eqjSI+S0W3 fVeUtc21SSyEw== From: Lee Jones To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:44 +0000 Message-Id: <20230317081718.2650744-4-lee@kernel.org> X-Mailer: git-send-email 2.40.0.rc1.284.g88254d51c5-goog In-Reply-To: <20230317081718.2650744-1-lee@kernel.org> References: <20230317081718.2650744-1-lee@kernel.org> MIME-Version: 1.0 X-Rspamd-Action: no action X-Rspamd-Server: lists.linaro.org X-Rspamd-Queue-Id: 7FB8F3E8AA X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.00 / 15.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[kernel.org,none]; R_DKIM_ALLOW(-0.20)[kernel.org:s=k20201202]; R_SPF_ALLOW(-0.20)[+a:dfw.source.kernel.org]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM(-0.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWELVE(0.00)[12]; ASN(0.00)[asn:54825, ipnet:139.178.80.0/21, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,amd.com,gmail.com,ffwll.ch,linaro.org,lists.freedesktop.org,lists.linaro.org]; URIBL_BLOCKED(0.00)[linaro.org:email]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[kernel.org:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-MailFrom: lee@kernel.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: JLEZB4ZTXRYL46VRBW2GWGOGOY5IBWDL X-Message-ID-Hash: JLEZB4ZTXRYL46VRBW2GWGOGOY5IBWDL X-Mailman-Approved-At: Wed, 22 Mar 2023 06:20:31 +0000 CC: linux-kernel@vger.kernel.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [Linaro-mm-sig] [PATCH 03/37] drm/amd/amdgpu/amdgpu_device: Provide missing kerneldoc entry for 'reset_context' List-Id: "Unified memory management interest group." Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:5152: warning: Function parameter or member 'reset_context' not described in 'amdgpu_device_gpu_recover' Cc: Alex Deucher Cc: "Christian König" Cc: "Pan, Xinhui" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal 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 Signed-off-by: Lee Jones --- 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 d4519fbd526f2..ef0b2787796da 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -5145,6 +5145,7 @@ static inline void amdgpu_device_stop_pending_resets(struct amdgpu_device *adev) * * @adev: amdgpu_device pointer * @job: which job trigger hang + * @reset_context: amdgpu reset context pointer * * Attempt to reset the GPU if it has hung (all asics). * Attempt to do soft-reset or full-reset and reinitialize Asic