From patchwork Mon Nov 23 11:19:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330608 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414084ejb; Mon, 23 Nov 2020 03:21:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzX8bVw9R/iJaGcUtReyul3jdWcws07vXyhzkgown73Yt1Ye4m9WjoilFwGUrBZlHD6mDKA X-Received: by 2002:a63:2264:: with SMTP id t36mr27265701pgm.350.1606130463677; Mon, 23 Nov 2020 03:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130463; cv=none; d=google.com; s=arc-20160816; b=Ix/MjT5SUDB/6aqFw15XjQzvGMW2WIOyw0hGbZCHBz8TZgmAOOMdNhKzBpiDpgDxib N4GEoitcKQsCytaWoGGg7qZm6YOewaKFBanXlKpGCWi9mZgUnlOcZf1bpnan5ojlFHD4 XGhBE+0bVnnDRt3uivcB/03lcXdCMueo4XgPtQsP/bkCGRnkhzTsEs135pM5bjpKk1EP AbXFtHTgi0K1MgdEi7wG485uzXXUNN9g8czzjLISCpB84MPfHpv3tpmtPsM0kGYXNQqR fZ3qoonaYAn5DJnzJqb/BK9KblIC327Gza/nkHSA5zgfyXzVxH+WS1Tiw2C2PeCWTLW9 yqxQ== 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=4L6hxkXkS5RGOPy5Ydi0EitIiuHc0A0G9Key8AITP9s=; b=O8WSghzVCuKs0JKLHiWA4rVowLYdAB9X768QqqhZpo9jMcGtXdHcww+0Jkfqz7sYvO L9Ks3JmrCir3yJ1/JfA3S5fPhZC8jVQLqLe4SNXBqRsMxpFy2B9SCtBtU3tU9SeqcNCq Xa45fRVJ54PnWlllArmEaQAs/D7POHuTof2ByXo4iGDjbXzYXn5gfVReoM8bUe0u/NbQ mkGz7lMj5s7itPWQtdhO+QvRHpjUw4CNOsJ3c1+7WUdEMrYwQe6V9limPKWKcEub6gKn FuxEYLLh40ASae13VeDLlgZUlZb1bpNnNmD8kjmpZfAcDbp1IoEOVo66sdhi/zHS4Ve4 VZxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fFIghWFE; 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 g22si10491921pfk.125.2020.11.23.03.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:03 -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=fFIghWFE; 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 9F4FD89EB7; Mon, 23 Nov 2020 11:21:02 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2468789FA9 for ; Mon, 23 Nov 2020 11:20:19 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id x13so7471912wmj.1 for ; Mon, 23 Nov 2020 03:20:19 -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=3XzaLPcLzyh2up8e5kwP+nCHZJEB2WNWkcaV5TphNj8=; b=fFIghWFECT8oOj8Gu6q8wWn9L5Fsp3uSgLhqf4xoYHzANzX9dnQy+cCA25K4kRYNg7 FZ2lQihD8sQIOAZh9U99hIjJKi/4DqiRzkm+KMU2/FoHpzwC82+M8bNqfnVvEmKrm8t/ lfxAuN4z4hfJNTekVocscG1M+td6PQFn1y8fWKMtOULHbg1wBKDyhAcnpBFudv5YTyzS qeG35MgmaOjGVq5q81vUOK9ppiAYrv9JfodWa7vBEJxkBEhINB+44gRA2QXEMyj81anE 0rZFFj6ta/VsXd6K2OtmQI7hbWA8UBuHofWGPJEiVBedvS74vena5C/SamFn+8lWjn9s XvXw== 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=3XzaLPcLzyh2up8e5kwP+nCHZJEB2WNWkcaV5TphNj8=; b=U6lVTwdbky8W7rZ8gmOuc8pGzbArFWbK00uBlQSu6e8zHi+fgzw2a6n5WhlBqQwsrV Fg7M7UQf1Oo93A88YB4nQFvK4OP1CWQbrv6WzXZxFJzMcewpAeTIPNbGSTeJKSbBu7Ku w0Ppx18XbdAkOuYPGg2gMD7pANfEger1gj7x2J3d5mXNi9tnxsJJijY6lowpiC/0qyv/ bM3DMdA0vDJCLohaI434JzFqlizesO1uV2tQNA+Rc0MiaexBdxgY5rm4xSkqVNhkL9yb XkGDOV43TEtWkkEU0/4zlBzlo1dyGE/cMz3JMWg5QEPJSGPXnX1Y2azvnyJ/aItlJDdX ot0Q== X-Gm-Message-State: AOAM531nogsOiZjqLkRi5YJeb1j+g6xidfuDiT5ZTheGpEJoOp+YPKY9 FyraiQUufy6HCF8poQrEeIDe5w== X-Received: by 2002:a1c:a185:: with SMTP id k127mr22884154wme.23.1606130417818; Mon, 23 Nov 2020 03:20:17 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:17 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 40/40] drm/amd/amdgpu/gmc_v9_0: Suppy some missing function doc descriptions Date: Mon, 23 Nov 2020 11:19:19 +0000 Message-Id: <20201123111919.233376-41-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-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/gmc_v9_0.c:382:23: warning: ‘ecc_umc_mcumc_status_addrs’ defined but not used [-Wunused-const-variable=] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:720: warning: Function parameter or member 'vmhub' not described in 'gmc_v9_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:836: warning: Function parameter or member 'flush_type' not described in 'gmc_v9_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:836: warning: Function parameter or member 'all_hub' not described in 'gmc_v9_0_flush_gpu_tlb_pasid' 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/gmc_v9_0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c index fbee43b4ba64d..a83743ab3e8bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c @@ -675,6 +675,7 @@ static bool gmc_v9_0_get_atc_vmid_pasid_mapping_info(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vmid: vm instance to flush + * @vmhub: vmhub type * @flush_type: the flush type * * Flush the TLB for the requested page table using certain type. @@ -791,6 +792,8 @@ static void gmc_v9_0_flush_gpu_tlb(struct amdgpu_device *adev, uint32_t vmid, * * @adev: amdgpu_device pointer * @pasid: pasid to be flush + * @flush_type: the flush type + * @all_hub: Used with PACKET3_INVALIDATE_TLBS_ALL_HUB() * * Flush the TLB for the requested pasid. */