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. */