From patchwork Fri Nov 13 13:49:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324306 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1213028ils; Fri, 13 Nov 2020 05:50:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJznZqgcodcpcOus8S/FcpkOaEv2ejDfUwQApBO0r/lDKBnDGUXN+o08rCb5RY9bFeqCUW2H X-Received: by 2002:a17:902:778e:b029:d8:d024:a9a with SMTP id o14-20020a170902778eb02900d8d0240a9amr2348891pll.12.1605275431881; Fri, 13 Nov 2020 05:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275431; cv=none; d=google.com; s=arc-20160816; b=Yt64gJLbibTAUrvXifhZq6DTsVBcnhMu4CH/S8mp+AvSgvLijpCxXKR7LU1fRia8GA WGMljabcnlswDXvnax4ZykCDq33OtPkzddX5v4zrX/FylvVn8Yhjo5BOFWfNUv+R54Fj Dw3JVCbmquTj4NJ1eAv5u8GxZrFe7AWYszo1NH7QgX9XSJ+gYpNnHe9Ly0rfNQ72vcl4 QyU0qyc39Pby5GEzkzhn+k43qtdoGPYFTB9p5WG6lnVUZGevVMv1o0qF9mVUGBrwW/cZ x+rxHC2ra2x7PvTfExfZOMHfz9QSRSkVQnrid3H+2USGTt5PEqWZvI7ovvUU9aU6Bi8K gzUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=0IK5azi2SFjGIPFyJWGqyG+SuiWkUX0A2j3+V+8lBRI=; b=QJmh9NM+mM7Rf+GV6hJxmitS6TawmORniGrA0bg4z2P8s8vr0B1YdNMI5RRvoULA9i DQSFasq/rZlZ7L4L4Z7f+7y6sjtIyRWpEp0q35d0XQY5kOZplRgjYBM6BzQeATuajXX4 BlI93hqhRlFd2QkF/muyjI4PlYd1g00sG8qILEBZNBuf0UpT6AjJG3f/Ky0jAkOPV1UC 3mOjx0q2q4OM3xNUydy4G+jhgRPKtphStoJ+IBJ74sb4WwFsiiax53NyKFHU3Z6IuE8v bfUOdZF7KMWuMULxN9O1s2ZiiE7vCGpuNo4YjpgQGxbBLT8qYEMRqeT8KPvEmlKtTRJ9 vcDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jcRc33Fq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id gv20si7917058pjb.41.2020.11.13.05.50.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=jcRc33Fq; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 168B86E4DD; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 66F356E4EC for ; Fri, 13 Nov 2020 13:50:06 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id c9so8201424wml.5 for ; Fri, 13 Nov 2020 05:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=46jV9p3NGfHHD7RmZzAF9wCbEXnPQwL3oGoQw/6SZqY=; b=jcRc33FqvvXfYZDq2w/hkAOKcF2M6UsYfjQCTBQFmt48Mc/W99snUkSH56/FCyd/sR 2Icd+6Ibx5xO76vEda91ScW6Obx+2JGyG53DC8PMv/rJQHZCkXaJ2jV3ZsFYzX47Gr/Y Ydzw+SuXuP0MYCj+U+iC/209+05xF7z+uajdM4hrF7mw9iWqkycWyjqK/OnZ4XgHuNbT s7bFMXSTomsPs8pw3U3BmBp+X+CX8onf+3Wt+M/rszLw4RmUWR4fLEeMphKfw0MltKh4 nzOAPpOhj5Vnrsr6KrPvwgDOntRpLtFNJy73zF+W6qs6FQ4HgUtNRQqTrb0LcGOnx9Aw Lazg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=46jV9p3NGfHHD7RmZzAF9wCbEXnPQwL3oGoQw/6SZqY=; b=rxvwfFMdgp3t0NiPvpxXIxVG38r1BNQE3dLrmeSj9EJ1WeUQrxuHtiu+Wb9rKHg+xV beP6u6ZZI/90X6T5wBjplEpy7FNnIZKMfVIQ/WApRTQ4zi4ulJ63T3Zj3AdguI3lSGvy bTgqYI9/asnRan8WcgDrPbnESIV3Xj2KC4atnIGmsgVoMTZfSCpAqqfdaWzZODxK/tgz zEtVTy8O0jauAN/hgMDQ6s4SvJ/0V1RzBWLLeilNfCGbkZnzDLXoaTY9NEmWxZ1r0K9u RwaFkx7X+BdF4sfz65YHf1cTWrhyqhIx8f72RH3nl9CfOU+ERi+VUme7pKbXDc2NJ2p6 MG7g== X-Gm-Message-State: AOAM532u2znsbVdvrb/+Qi46VmfP3oFYd6DzVjqyefnnNsJn8uysBhvp 2Ki4b8DNwtRS6XCwxmr2lvwIJw== X-Received: by 2002:a1c:f31a:: with SMTP id q26mr2635450wmq.178.1605275405100; Fri, 13 Nov 2020 05:50:05 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:04 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 19/40] drm/amd/amdgpu/amdgpu_vram_mgr: Add missing descriptions for 'dev' and 'dir' Date: Fri, 13 Nov 2020 13:49:17 +0000 Message-Id: <20201113134938.4004947-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:648: warning: Function parameter or member 'dev' not described in 'amdgpu_vram_mgr_free_sgt' drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c:648: warning: Function parameter or member 'dir' not described in 'amdgpu_vram_mgr_free_sgt' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c index c99c2180785fe..d2de2a720a3d8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c @@ -637,6 +637,8 @@ int amdgpu_vram_mgr_alloc_sgt(struct amdgpu_device *adev, * amdgpu_vram_mgr_free_sgt - allocate and fill a sg table * * @adev: amdgpu device pointer + * @dev: device pointer + * @dir: data direction of resource to unmap * @sgt: sg table to free * * Free a previously allocate sg table.