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 From patchwork Fri Mar 17 08:16:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 665878 Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013658wrv; Tue, 21 Mar 2023 23:22:18 -0700 (PDT) X-Google-Smtp-Source: AK7set84sbzUhSHT8YAOan2MOncqyNeL7Qc4b/ToAaQDP8/l7sJWo4kB0OyrQ2tR6aFM1ZnLYxag X-Received: by 2002:ac8:7f0a:0:b0:3bf:d50b:4967 with SMTP id f10-20020ac87f0a000000b003bfd50b4967mr3870879qtk.43.1679466137987; Tue, 21 Mar 2023 23:22:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466137; cv=none; d=google.com; s=arc-20160816; b=t0PfmhFrlPr2y29hPyrZswuMd5y6JpPn2a1hGYKVSn6bh6420I/76ZEhsWAug0YAdF Tf6gTI/XWlXT3p9vg2ulQ2ZprJoHhIk3GajGv087z0yk0GL5HLNBzXKp5IDQBj4L7C3v 0GaOLp13LdGMN7khG4enXMX8V4T+U0F6dQ9Klau3RkGKY7r+mBCA3tW4k2UGjcFtOJgQ 5eG65qzHrfCtRR0xECrYPPUIvhNnS5h4w+JxxG3ZZjislZxRdbtnFLNBctih+WNSKAje +9vLkHn2MDcdyGLEBc7hpUDSi0DS4wtk4ErZsLw6zA7u2Gvz74dtrRCmABPy64wknrhw nb9Q== 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=WSJwlclaDNd6lA67VQxvvQOc4mG8DfuAOWhQlICG020=; b=fDDXHEyauHifv3Tt4c/2trBFXqDKOqdR/prExMGdJdew8DAaXGZ05fV1hdnvgNnYA+ jNWut8pkh1MHt8IJ237EjXD/TzxU2NAEKhTaoN6C1Xs5T+E6kIJiYRSFXD4uFGEfgaQQ 0jX1OwLkVjTNCkU4mSYYukHMTGAnMTEbaO1VQizYEDhfCPrGnMLjk0nCnSz0rDQ1DRzA nq/mtRzyv3Jk6pZV5+WGTdeEk5n72AuP7ykcLsbARPSZnCPKwQg/ZyU8pjMaEoRzYqTw gGs0dukDxFdxxGm5CxMFCwFpE+fxBc028/aOYQeE+3hKOxuBTOiYz1gRyk00CJXZ5wn0 xz5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=eFRtBGLR; 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 t31-20020a05622a181f00b003b6953fbb9asi9595432qtc.348.2023.03.21.23.22.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:22:17 -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=eFRtBGLR; 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 9A818443E2 for ; Wed, 22 Mar 2023 06:22:17 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lists.linaro.org (Postfix) with ESMTPS id 4B2FF3F47A for ; Fri, 17 Mar 2023 08:22:31 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=eFRtBGLR; 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 EB4A562226; Fri, 17 Mar 2023 08:22:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C360DC4339E; Fri, 17 Mar 2023 08:22:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041350; bh=8O4QuVXZ8A7FPD2U3Nkc5z3et0F4wiZvDMcIjCSnRrM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eFRtBGLRKjUcF/Fmcq6iLIf9PZnd5LDpEdzQ9XUtmPUJ6sRagbrGGRXpHaG3imHGH Bq3kM6SuDzu3PbLQKYsvXgQ9ZJBXzvILzNflaVdYCFPjyb8eSaZC8pxiVXApiPx0g4 McOn9BZAEk+AUF2P5lJvaWoLBUqz1ssWQ5etAFp2Wwz/ADI/wifmPBDzTXscksQkQ/ yFjpejbFkT/DFTau934rCipSLC8TGVDmvUnPK6fVA8+qNQ3AUJdPd3tZNwQf/zgbrk U84/OY2UlThW72APAY69ocE46xCcN/HptNhEl0IySSBcRxOliPNW79TLQtGTfA/zA5 gjipHLcERZYyw== From: Lee Jones To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:46 +0000 Message-Id: <20230317081718.2650744-6-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: 4B2FF3F47A X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; DMARC_POLICY_ALLOW(-0.50)[kernel.org,none]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[kernel.org:s=k20201202]; R_SPF_ALLOW(-0.20)[+a:dfw.source.kernel.org:c]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:54825, ipnet:139.178.80.0/21, country:US]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; NEURAL_HAM(-0.00)[-0.991]; RCPT_COUNT_SEVEN(0.00)[10]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; URIBL_BLOCKED(0.00)[amd.com:email,lists.freedesktop.org:email,ffwll.ch:email,linaro.org:email,dfw.source.kernel.org:rdns,dfw.source.kernel.org:helo]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[kernel.org:+]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[vger.kernel.org,amd.com,gmail.com,ffwll.ch,linaro.org,lists.linaro.org]; 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: UGI5C3AVGH2IBTKTY7WTDKV3T6F5DBN2 X-Message-ID-Hash: UGI5C3AVGH2IBTKTY7WTDKV3T6F5DBN2 X-Mailman-Approved-At: Wed, 22 Mar 2023 06:21:07 +0000 CC: linux-kernel@vger.kernel.org, Christian Koenig , Huang Rui , Daniel Vetter , Sumit Semwal , linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [Linaro-mm-sig] [PATCH 05/37] drm/ttm/ttm_bo: Provide a missing 'bulk' description and correct misnaming of 'placement' List-Id: "Unified memory management interest group." Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 'bulk' description taken from another in the same file. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/ttm/ttm_bo.c:98: warning: Function parameter or member 'bulk' not described in 'ttm_bo_set_bulk_move' drivers/gpu/drm/ttm/ttm_bo.c:768: warning: Function parameter or member 'placement' not described in 'ttm_bo_mem_space' drivers/gpu/drm/ttm/ttm_bo.c:768: warning: Excess function parameter 'proposed_placement' description in 'ttm_bo_mem_space' Cc: Christian Koenig Cc: Huang Rui Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal 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/ttm/ttm_bo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 459f1b4440daa..d056d28f8758a 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -84,6 +84,7 @@ EXPORT_SYMBOL(ttm_bo_move_to_lru_tail); * ttm_bo_set_bulk_move - update BOs bulk move object * * @bo: The buffer object. + * @bulk: bulk move structure * * Update the BOs bulk move object, making sure that resources are added/removed * as well. A bulk move allows to move many resource on the LRU at once, @@ -748,7 +749,7 @@ static int ttm_bo_mem_force_space(struct ttm_buffer_object *bo, * * @bo: Pointer to a struct ttm_buffer_object. the data of which * we want to allocate space for. - * @proposed_placement: Proposed new placement for the buffer object. + * @placement: Proposed new placement for the buffer object. * @mem: A struct ttm_resource. * @ctx: if and how to sleep, lock buffers and alloc memory * From patchwork Fri Mar 17 08:16:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 665879 Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013752wrv; Tue, 21 Mar 2023 23:22:37 -0700 (PDT) X-Google-Smtp-Source: AK7set9o8OirjOqvAwTf6bbPOMgggX66svI6LcaGcAHtkl5PUrXKBtIE5zETsBQRTv4omxsxqRB+ X-Received: by 2002:a05:6214:e8a:b0:5d7:2114:bc8a with SMTP id hf10-20020a0562140e8a00b005d72114bc8amr2575211qvb.16.1679466157160; Tue, 21 Mar 2023 23:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466157; cv=none; d=google.com; s=arc-20160816; b=AG5VsNO/62Wo/8OKp7x59p2yRlXNzwhU+xobOCWR61/p4sM0RhzIQz58PhKdeava2A 407juOas501dKGMkOQPpwBz1/6XkFgERKTVwUxXwSfIRTLRXXgImjczSKaTQLvjbnLoa WmKGazk4x8gKBfyLM7S+BWidC5B7Hef4+DKAywbHUre7stYVZg/syecuY8tR7OtA3u17 9F2Omidc5KPPTeuGYf6w1lP0aK6NuC5iVebCJk/C9VgjvmxUokUUXvPr3b/W3wO+9OX/ qs7K0QoqdeY+oYn89EhFo0QiXXeCaXludXF8V8VC2g4Ax5RiP0R0P7cjH6Shse4zqArc EWqw== 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=n45bS01Uzhph9dvK4K8ZCWj+MfXLmBUmjwLoij3e5jg=; b=T1AecaKoC6nEjiSwmJMb1zTEz+qjInoc/7E1TM0VNH5grELJF0OazIEUJyptfUZ/kg h+brx42DVG9gWBovWp6nMCTUwEwogWdx+d1P7OpsKMct7uR+VJZ2Y3REFVphsGAyOdfF Skraomx6l6vYBSmx3aMxRhzm+NICNhCkMgb133qceUp47cuRO/ZBdF4n5gcTAeVK62Ee MJyL6Sj1UFZTAM48zcL8Hu/adpcND/25uz6t2O4/DT0UMRdxZK/2FwTXvbfKhXV3Llxq vIdtAv7FvRaOJRRtKxNziuqzIYI1/sMpQD3hUURj2KM3B9XXrZKbzf2lpfeN1aa0+zwg KyvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=aH9baG6Q; 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 e13-20020a056214162d00b005a3c9eb03b6si8930074qvw.308.2023.03.21.23.22.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:22:37 -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=aH9baG6Q; 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 BBB97447A0 for ; Wed, 22 Mar 2023 06:22:36 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lists.linaro.org (Postfix) with ESMTPS id 8168C3E8AA for ; Fri, 17 Mar 2023 08:22:54 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=aH9baG6Q; spf=pass (lists.linaro.org: domain of lee@kernel.org designates 145.40.68.75 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 ams.source.kernel.org (Postfix) with ESMTPS id 87368B824FB; Fri, 17 Mar 2023 08:22:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04883C433EF; Fri, 17 Mar 2023 08:22:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041372; bh=2fN05X8Hk+oG8PadKtWMVED3+Ll+rVeU4UKuOLTmoos=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aH9baG6QVrmLtZIdI8tXrP/9/h9JdO4iRzL9ptVItpVzfubVeDhu64SQG34nnfShh IW3/aqBd7XXQlSDX+Z+ElfX4mUconWVPK14ovcqHvE16r92hReuGKMYXkEPtTv1Ozy T6kCDLNPrKDEg9NnUdHxVm1AW6wGDSuo+DbnTDWHzEXIGhbBo7TJ5uciA/tCxKpkYd 8yXwFCJOMUrGt4mWlNxwiwYMTsNeHOVIchI8L9G6ARzcPcLbnWttjGbbn9k22GkLTm +J6qwBY4Ydw15V3Po/I75RCWYk9/4ZrCFfwP+6F6lVW1OqtEH9dol2w58CAH2hwjuQ 4DFphXR+tsYCA== From: Lee Jones To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:55 +0000 Message-Id: <20230317081718.2650744-15-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: 8168C3E8AA 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:ams.source.kernel.org:c]; 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:145.40.68.0/24, country:US]; MIME_TRACE(0.00)[0:+]; ARC_NA(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,ffwll.ch:email,lists.freedesktop.org:email,amd.com:email,ams.source.kernel.org:rdns,ams.source.kernel.org:helo]; RCVD_VIA_SMTP_AUTH(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: 3LMKLVPHKG3UXIJZC5HDVGH2P3NFMA2D X-Message-ID-Hash: 3LMKLVPHKG3UXIJZC5HDVGH2P3NFMA2D X-Mailman-Approved-At: Wed, 22 Mar 2023 06:21:07 +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 14/37] drm/amd/amdgpu/amdgpu_vm_pt: Supply description for amdgpu_vm_pt_free_dfs()'s unlocked param 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_vm_pt.c:683: warning: Function parameter or member 'unlocked' not described in 'amdgpu_vm_pt_free_dfs' 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_vm_pt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c index 01e42bdd8e4e8..df63dc3bca18c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c @@ -673,6 +673,7 @@ void amdgpu_vm_pt_free_work(struct work_struct *work) * @adev: amdgpu device structure * @vm: amdgpu vm structure * @start: optional cursor where to start freeing PDs/PTs + * @unlocked: vm resv unlock status * * Free the page directory or page table level and all sub levels. */ From patchwork Fri Mar 17 08:16:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 665880 Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013832wrv; Tue, 21 Mar 2023 23:22:56 -0700 (PDT) X-Google-Smtp-Source: AK7set/b0TPXEjMeETQk7zZPIaiEfoQAQ5+Le+AmJnR1IvHnDTnwuo6g/bj7FQFSNI6HgHjlTRr5 X-Received: by 2002:a05:622a:594:b0:3bf:cf9d:ccbd with SMTP id c20-20020a05622a059400b003bfcf9dccbdmr4591293qtb.2.1679466176164; Tue, 21 Mar 2023 23:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466176; cv=none; d=google.com; s=arc-20160816; b=D6nmYh4C+zudhPyaWuwhhLfIQUUQ3xnGjg3nfPk6O+Fx+0yAr31+U2FSJsWnjH3Qpj Utz89US8oX33DFhoy55TNAwAg8WMDoL8p5qZrYneqizgSZD3YY0WeIYcsMM8/iT8BqhI fFffIk53g2+Mkuo15ah7hvTKO1czMlG+58XoTBnMRhMrjdTq6gP42NSCKLSioe1Uv5pb AULZcnNcmxgatKCJkFQdy1QYRqGzn7RLl1iHwLT/TqdDLyOPSM3Jr80y2OLCXphJDGEO LNM/s/BPrNVamUb1lIxeo0SeR6iyuNpzuo+NzwZJ3QjwqlUKZP16fBtw7GSAQIfqZOd+ D6NQ== 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=iFQTsjxb7lftpcYdSojKole+q8Ktkbl0u9biDVxRV/I=; b=kdKQxyZjeG9yFK6/IZC6DEFA9GG73jbtxzOZYPPOdCQpuyTjNglLtJ0A4l5LZeasIL hGcDiEgF2NuyKrtwpQTLfosKW3ZqXvrMEfg1FOrkCG4aR4SyjDLWg8nwVYIozX/YO2Wc I/dBTbFhmySDZR871yWHilsuUPFq+QhLDztyaLy0Y6groIgNs+twYL1mWMgY6s3yjER/ b3ePFXhkefjh/NQechK+64Dq3oaealFX0+hCz53Sq+thQxxYwkKPDcDK6893DjevkCNV hcITpbKM6Y5tTK4ezZ7EbCmKFXA2CykviMWUHxg2YKuafAq/aZyQ2PC0sjIMtaADpi6X SIHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=V8QPGrUr; 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 p6-20020a05622a13c600b003bbd8bdb931si1789556qtk.789.2023.03.21.23.22.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:22:56 -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=V8QPGrUr; 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 CDD54447A0 for ; Wed, 22 Mar 2023 06:22:55 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lists.linaro.org (Postfix) with ESMTPS id 16D7B3E8AA for ; Fri, 17 Mar 2023 08:23:02 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=V8QPGrUr; spf=pass (lists.linaro.org: domain of lee@kernel.org designates 145.40.68.75 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 ams.source.kernel.org (Postfix) with ESMTPS id 3CBE1B824FB; Fri, 17 Mar 2023 08:23:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63E07C4339C; Fri, 17 Mar 2023 08:22:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041380; bh=nglgtsvCUff3hoxAz81mxZbGLyBNAyLesQortl5pRh8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V8QPGrUr1rKK/pkPnxyrGQHlhqrAhQAz9B8YoyGAyPlwfZjOEa/wZTrJiOl3B1f1V dRxVSsRurlfTpiX7NHysvBEo50rrhwV7ryieiJGGqt3l0mxDh3dkKl91U+uhHHlmDL 0tz+cX1m9mSmXzZmkZQkmFPlZkFgsko4Mi+8B8w1UKwQWvuLXGAbXEeX6FQLNqL48l 0FokY7w66TNZ/OEGX8XGJbVq9+UaUP9LnL/f1pCIthEt1N3HMwuu4l5CKiqHj3OZnk 4GXEw1Z+hA0hi4+teyF1NiENjb6p+qso5uJhJG3VUvfklp9SUzJNG0Tt0fjPFtUDc8 wi2RowAwAVwrw== From: Lee Jones To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:58 +0000 Message-Id: <20230317081718.2650744-18-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: 16D7B3E8AA 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:ams.source.kernel.org:c]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM(-0.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWELVE(0.00)[14]; ASN(0.00)[asn:54825, ipnet:145.40.68.0/24, country:US]; MIME_TRACE(0.00)[0:+]; ARC_NA(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,amd.com:email,ams.source.kernel.org:rdns,ams.source.kernel.org:helo,lists.freedesktop.org:email,ffwll.ch:email]; RCVD_VIA_SMTP_AUTH(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: TBUJLF7K57KN4J5DIG6A6V7S7H7BACMU X-Message-ID-Hash: TBUJLF7K57KN4J5DIG6A6V7S7H7BACMU X-Mailman-Approved-At: Wed, 22 Mar 2023 06:21:08 +0000 CC: linux-kernel@vger.kernel.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , Daniel Vetter , Sumit Semwal , Jack Xiao , Hawking Zhang , 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 17/37] drm/amd/amdgpu/amdgpu_mes: Ensure amdgpu_bo_create_kernel()'s return value is checked 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_mes.c: In function ‘amdgpu_mes_ctx_alloc_meta_data’: drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c:1099:13: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] Cc: Alex Deucher Cc: "Christian König" Cc: "Pan, Xinhui" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jack Xiao Cc: Hawking Zhang 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_mes.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 82e27bd4f0383..30cd72ca1eefd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c @@ -1104,6 +1104,11 @@ int amdgpu_mes_ctx_alloc_meta_data(struct amdgpu_device *adev, &ctx_data->meta_data_obj, &ctx_data->meta_data_mc_addr, &ctx_data->meta_data_ptr); + if (r) { + dev_warn(adev->dev, "(%d) create CTX bo failed\n", r); + return r; + } + if (!ctx_data->meta_data_obj) return -ENOMEM; From patchwork Fri Mar 17 08:16:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 665881 Delivered-To: patches@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp2013933wrv; Tue, 21 Mar 2023 23:23:15 -0700 (PDT) X-Google-Smtp-Source: AK7set9K4z7qUmXBR8zRbeu45bUeanqyQfqJR51o4irx9tuYIV7IYtMvW2BkS3o6rYlqZpUipzSm X-Received: by 2002:ac8:7d92:0:b0:3e3:8be5:c3d4 with SMTP id c18-20020ac87d92000000b003e38be5c3d4mr917330qtd.37.1679466195358; Tue, 21 Mar 2023 23:23:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679466195; cv=none; d=google.com; s=arc-20160816; b=L+y60wJ807AmGluur1ZmBVyl6iQ32s1xVt9JnEzl+0q9CRtIPspFiebm97V3nioWLd Z6eECfgazs/zNdMvdRzrKtKhGrVuZfRmanQFLGX5F3Q2PVCxAKHlM9nwZ6WjDyukBsK2 KFQAJT5/qO2uEqtNKN3K5aI3hcPAqizpoX1paSWC7YzF5UxU8HaxQCk0HNRB5GHJjyv+ em3Z78JUODqguaKsxlLX8d9l6o8sr6LR3UJEiOhe6CN7OJXItGrYqNum/wuHrMkjGcAE gRng6utMfI7wEV7y5UXWoWZiSizWlA1szW9vUBhpSNGYJOuxVuSLL6RAH0tFF5TN8nfq RVXg== 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=GSesxdel3VxPly7AHFhGNyAdja/DKHks6iT9hESe4qU=; b=qeVJcgjLRWguvvy1/4dkTOcayvjhhOMahlrtK4bFA3SYPjI8QTl0+XBaaVv6wpyO4Y EQSfKfOrinmvcgNayaj7DjqHE3ZYFuAYOXargtMLOfZZwPunTmR90PqBX/wXAKmf8TkA Ro5IQSoDIDMgXb4vMjK+ZndLPQo5x+b+gdulwwpPxt7KVDm7EMqHfK0O0PwKTzhHpLsY YPLz6/EEEwwpIkBOoIiPhYWph8d+ptJlcPbdiRm393NnJ4Rxpvs3fKdFh8t5MuXxXKl/ orN48d0dSCkgvGXedlI351C4N+qYaVDV807y7kqw6/DUDhaHeGkOIvMx+ARw1pjP+so4 JwHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@kernel.org header.s=k20201202 header.b=Ulun32Ya; 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 q12-20020a05622a04cc00b003e38825b39asi1555911qtx.659.2023.03.21.23.23.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 23:23:15 -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=Ulun32Ya; 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 F34264479C for ; Wed, 22 Mar 2023 06:23:14 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lists.linaro.org (Postfix) with ESMTPS id AC39C3F473 for ; Fri, 17 Mar 2023 08:23:03 +0000 (UTC) Authentication-Results: lists.linaro.org; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Ulun32Ya; 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 5777762220; Fri, 17 Mar 2023 08:23:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72552C433D2; Fri, 17 Mar 2023 08:23:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679041382; bh=eVjVeNRWTWrNvZ0ADJpOpPfGExYmn5HJ+ecNEWoPDEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ulun32YaRazjRkzxIZjPbqKxF6ImcLWBmaPIvepaMqbz8of7ETiXZcWkPs6RE3JxL 2M1h8mkmBcoPxQ3wJmDd3ceuDE2Zwt59R7NXQiUEs1SWKUQfoADEX68QjACH/nQf7n KsFILlJiZoHeCWYwoj/9YwQv2XozshXqfLSHMLNVpr9+mjKDSxUkgC6GR4EFLLay++ sze/f/kNYnk6DAF3roBOckVZdzWQyQNZEdYtVSYsZIzOfxE+esmve0pKaeAJ6xLEzi zp8UluWatlfV2ZVCj8bn144UDVaep1UKS5v12Kf5UWqBKO/Q+IrwccbSgwhpbrYd4A xlC/nXQYYkTTA== From: Lee Jones To: lee@kernel.org, dri-devel@lists.freedesktop.org Date: Fri, 17 Mar 2023 08:16:59 +0000 Message-Id: <20230317081718.2650744-19-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: AC39C3F473 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:c]; 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:+]; ARC_NA(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,amd.com:email,dfw.source.kernel.org:rdns,dfw.source.kernel.org:helo,lists.freedesktop.org:email,ffwll.ch:email]; RCVD_VIA_SMTP_AUTH(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: EGWO7JCRAOABTWYGPYZKTPEEN5GBKU32 X-Message-ID-Hash: EGWO7JCRAOABTWYGPYZKTPEEN5GBKU32 X-Mailman-Approved-At: Wed, 22 Mar 2023 06:21:08 +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 18/37] drm/amd/amdgpu/amdgpu_vce: Provide description for amdgpu_vce_validate_bo()'s 'p' param 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_vce.c:599: warning: Function parameter or member 'p' not described in 'amdgpu_vce_validate_bo' 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_vce.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 2fb61410b1c02..c4d65ade5c00a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c @@ -585,6 +585,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, /** * amdgpu_vce_validate_bo - make sure not to cross 4GB boundary * + * @p: parser context * @ib: indirect buffer to use * @lo: address of lower dword * @hi: address of higher dword