From patchwork Mon Nov 23 11:19:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330609 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp3414253ejb; Mon, 23 Nov 2020 03:21:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2ndXmWa73JE3HfHwH17jCxAL6qaZjzUSuyYblBKyVuJCQ5qpgUzA19aeRxJ/D9KI0smVL X-Received: by 2002:a17:90b:4b02:: with SMTP id lx2mr25213254pjb.49.1606130478112; Mon, 23 Nov 2020 03:21:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130478; cv=none; d=google.com; s=arc-20160816; b=Pe7HkJNDC2mFJLUZoN71BG9wz4048RCx9uXOYZxaiAlxI+9Fz57IJDmMMj7QTElxBb PutQPw9qnQeTa9jccNKysyhM/O9HO+aWQUhUklCd1dcOvIptlYJktoFORRzBubKpQszX WNreS8+kUrPR8dRhetMujfM9yBXxsYlHPLMnuN000LOWf8fKu7SFlbmrT3gruhW/Rg0w cnv/bfYGmp2AQcVf7wAZYFL1YsLa0JcvisTruJRva9C6JSo85ZHekjeLG+9ksstrXDXx Bzm+XTXx2vauEAOmXq09kGQlcMojVVrXIlIMtNPG0IzImkipItSkkHclTxqUtAHSy9YQ cX9g== 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=jqDpUJDcpAl4GUfzMRFJtrFqWooZkN13atvGd9PGifQ=; b=0pM7jaIPRY+sxk6xIgIl+zzbFbeHtjp1OgWkUCUTE7sRQUDlImAveBrA6QIie/gerB 5RqBwSTVjaSVGcL0Maj1DYIUXbNCNCEE8jeApKm+EclXed05aHXcSLOr39fYGVDrz0Jn FfBm0Dc0UuRFjDFepndBLhs8GApA9xAXNyFgNBOyikNJBLL/So1i7SFL3A/GDsyMWMjJ pW+KrMRIYsc8IJOoOUx6YwTElAHclz3xuxbZK9tEMJGG6A2jUOC6UE/sz43hC1SKQ/EW +znYb4GofeiEaH83OFYKBOZmrp70ygyugOOR2inviDpSwLW8WlEaG4UpGw7JtDWjAb3d Tu3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="CrRYYm/K"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id w5si9961393pgl.418.2020.11.23.03.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:21:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="CrRYYm/K"; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 0D75A89F97; Mon, 23 Nov 2020 11:21:17 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D01389FA9 for ; Mon, 23 Nov 2020 11:20:15 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 1so16864124wme.3 for ; Mon, 23 Nov 2020 03:20:15 -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=P119mFSQ3gSCoSYB/CN9/cMQZuTwsZhoVi6LljBTVvY=; b=CrRYYm/KGRuXUUR/ONdnY49DZdCnEJu/XQdHwr44D6hafzYw0j3GaZou7bR45m/YLy w7oUaMgSveRI2wSoPDH57G3A7SdpuMQfcEU8p7qd162FJG1Z/nAzhiO7dRC2gnQbC/vm PfEmtwcw+HGqx7OB4N24SgMpomvXZtGtwEsyx4SzW6GTRVcwDBTpOLVS8SoCFa22A6sF /3gu23WFyO3SC/QrFpSPMePYUsbWOF4Vm6zfw/OUfyR02zvkB1bH7dBVhByeI0X8Hjzb 53JU2+DIwHKHSvO0tkb8bZu2RemE5bgp9AwkP/sRtts1p1ww7gYv5xbvTNFt6hTems3X mR/w== 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=P119mFSQ3gSCoSYB/CN9/cMQZuTwsZhoVi6LljBTVvY=; b=O5AAIcn5vhkRoUhYbP3MXPzeMucCTjvUMZwMpAaHQN76WbNuKGyz1NA7uBMHxSkg0R Utg+bI4bvbYxn1mpoYsGz0oKSA0coQAvJIsAxuLuC7WDpuluibCL2UrJLw8Rt2XHdnz6 gKH6shkXjZbIYss1DuYRrFGtzIry19ADDY/FNVTD04dFzGWS7lyt9xGl5r6kSiNWrkTg zDnlXBzcz+3sdCRfuE/dL9YgKdBO5GIzoeiD1CBsHnLyPw2VCxtuDAcHFP/KXIkAJBzf 8AY5nJVBLMGxN52SfX0ZV1mZcBHjPOWGm04P4t+17eqGUt5jOWbTerDAplbmzXgIfJTT fOWw== X-Gm-Message-State: AOAM533l1pIqzR12iZoI5TdOZLgW1fQHj5OWiGOo+ZoBDCP15XeBQddj /Asb8BUu1aEnBWpxErjVf1syrg== X-Received: by 2002:a1c:2384:: with SMTP id j126mr23898113wmj.116.1606130414120; Mon, 23 Nov 2020 03:20:14 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.20.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:20:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 37/40] drm/amd/amdgpu/gmc_v8_0: Fix more issues attributed to copy/paste Date: Mon, 23 Nov 2020 11:19:16 +0000 Message-Id: <20201123111919.233376-38-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_v8_0.c:618: warning: Function parameter or member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:618: warning: Function parameter or member 'all_hub' not described in 'gmc_v8_0_flush_gpu_tlb_pasid' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter or member 'vmhub' not described in 'gmc_v8_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:657: warning: Function parameter or member 'flush_type' not described in 'gmc_v8_0_flush_gpu_tlb' drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:998: warning: Function parameter or member 'pasid' not described in 'gmc_v8_0_vm_decode_fault' 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_v8_0.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c index 0f32a8002c3d7..41c1d8e812b88 100644 --- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c @@ -609,6 +609,8 @@ static int gmc_v8_0_mc_init(struct amdgpu_device *adev) * * @adev: amdgpu_device pointer * @pasid: pasid to be flush + * @flush_type: unused + * @all_hub: unused * * Flush the TLB for the requested pasid. */ @@ -649,6 +651,8 @@ static int gmc_v8_0_flush_gpu_tlb_pasid(struct amdgpu_device *adev, * * @adev: amdgpu_device pointer * @vmid: vm instance to flush + * @vmhub: unused + * @flush_type: unused * * Flush the TLB for the requested page table (VI). */ @@ -990,6 +994,7 @@ static void gmc_v8_0_gart_disable(struct amdgpu_device *adev) * @status: VM_CONTEXT1_PROTECTION_FAULT_STATUS register value * @addr: VM_CONTEXT1_PROTECTION_FAULT_ADDR register value * @mc_client: VM_CONTEXT1_PROTECTION_FAULT_MCCLIENT register value + * @pasid: debug logging only - no functional use * * Print human readable fault information (VI). */