Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2050968pxu; Tue, 24 Nov 2020 15:55:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaha7FkYBiqf4CX/DUylViNdbq91gnjooYoErNhVm99oH2u7LsqSTb3YCd3F38I2Tlhc2H X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr994831edy.63.1606262149076; Tue, 24 Nov 2020 15:55:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262149; cv=none; d=google.com; s=arc-20160816; b=DfcMZoYiow12s+rpQQsBDpT9710f+xwyDEUuz/R8o+BR2h2K2yjhjIVdWCNN+hBnj1 GiIvG4P8OJX7PnJp/4M9ojuD3RWWuaDwPuM/GFNDiOKvP/Dtx4j1Iet3nfolLIT0jXyo yPBOtZv8EjcvXx/Ca19QlFIMfIqLPgtynmtvB4soS9/tfMPPLp2UTWgGdEakwq6vauZp 2vgPXMwKTbW+I9VqoY1mmG/pqVZqLq9v/Ma8V6P8OA6yTsTM/o/DsESyi7xW31LeEq29 9A3ivGfDdKSFisMlSW49oezEw3KQMQXpKWNJVdaNjfEbfAt3p2aL4+UfbBMJQa9BZKQN 8Dww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HQG7VvhLuLqLIiCO1wDsJUncEyILipv0iifGGhYNwBw=; b=i44JQDqoYkZBv2+3nVnaTQmgVJEw8wCQjAXadVfdKyYNiQYXq1x6Dd5AVweU0sbTBf V4fOt213hhwB/90kEZbsbiiGFUgqBMTgs2VLL/+ugp3KmX4Cse+x8PRb8BVX/Y1Tw0U5 ADJsag3bblei+5IceUomMGLSRYMW3tADydDTdqjVL4WAQZKV/e5bjOHqb+Uu/MZ8vUSl Kc41Je5zThgCGKkKqIKE4cT56FanF9AuYiAEhomZAy+Rm8W+qdL3LwhR2fH7HrfgA7aE NhCMEUNfqDjZKip153afsQ7fmpdE1/mYO/M5wvkGrClJLqCTXaZbjaB2iviZtoqaLEul vvlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ROnAYiAd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si162923edb.455.2020.11.24.15.55.26; Tue, 24 Nov 2020 15:55:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ROnAYiAd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728199AbgKXTr4 (ORCPT + 99 others); Tue, 24 Nov 2020 14:47:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726594AbgKXToD (ORCPT ); Tue, 24 Nov 2020 14:44:03 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F921C0613D6 for ; Tue, 24 Nov 2020 11:44:03 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id p22so79818wmg.3 for ; Tue, 24 Nov 2020 11:44:03 -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=HQG7VvhLuLqLIiCO1wDsJUncEyILipv0iifGGhYNwBw=; b=ROnAYiAd5qDaRM6zlXai5MEWDhk655E2E+vwaBBQzU3vLw++RLC4/Jub4Bt3Hvy0HW pwVKhquuQdg0kk3tR1802CxvCaIcCwMmVQyiRfLJBffRMydYoXbNWu6QKx04FekT+/qp qoL59FYT3twrWeZa+Kd9U45wg7C8HeQReGIsbPxd3eF+kBkgnRVKLMICmYUZVZZcSKcB i3krnvNltBSKPhTsEx91aoglWLCC8evPXFNZ5CcQoBWLe40kKZ/NpidKAmX1NZFJSC5e 3429CPqWQ2HYM51EEndQBWcN+40LTgM9aL9qXD4DJTS4i3u5d6Y7QaI4+o6IYnURuma3 QtRw== 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=HQG7VvhLuLqLIiCO1wDsJUncEyILipv0iifGGhYNwBw=; b=golk6T9ZrxppVd19GA6sOv0inAKp2gmYjan6EkplnpWFolQrKwj+gW5SXLwrSHy4/e jnk9+J9E8e0IgVTs6aa9UgEXUzww48niBdTVZ010DtjAaXUK8EXiRlnM4q63LDT1rJio ubXPOPViE2MaK2IHvWkMB92YTGP0lqnoip2AlVK2FG0FNWqcvNiTiISsrHYSbNguIC1u wLC7Ra+C8PHYwNtlUgJatcZobkWAxIy70kospdz+Yi30LF9NKB0Wxs2EGUSErlvddu7t f4V3UFk7gVppWsvYDeHOIX3QpQz7/PPjF3rP8OqJ2SPGy9Mm4ZrRR2kMyE6sUOC6pAlc IgCQ== X-Gm-Message-State: AOAM531mPCulnb+oFPyF45jw6G12jhGOrM8yJsxp6+RJ46/blbJa9wkl UV6Qxwcc4nf8yiR0XtehFDNMVA== X-Received: by 2002:a1c:4b10:: with SMTP id y16mr22750wma.10.1606247041886; Tue, 24 Nov 2020 11:44:01 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:01 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 02/40] drm/amd/amdgpu/gmc_v10_0: Suppy some missing function doc descriptions Date: Tue, 24 Nov 2020 19:37:46 +0000 Message-Id: <20201124193824.1118741-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:278: warning: Function parameter or member 'vmhub' not described in 'gmc_v10_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:278: warning: Function parameter or member 'flush_type' not described in 'gmc_v10_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:371: warning: Function parameter or member 'flush_type' not described in 'gmc_v10_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c:371: warning: Function parameter or member 'all_hub' not described in 'gmc_v10_0_flush_gpu_tlb_pasid' Cc: Alex Deucher Cc: "Christian König" 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/gmc_v10_0.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c index d9399324be474..4887b0e66e975 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c @@ -270,6 +270,8 @@ static void gmc_v10_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid, * * @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. */ @@ -362,6 +364,8 @@ static void gmc_v10_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. */ -- 2.25.1