From patchwork Thu May 20 12:02:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443271 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223964jac; Thu, 20 May 2021 05:03:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzURHqwt5YFki9OJB0ndR7AwokCYa0apWkKJVsUr4tpgOPdO4+IwHATAH491Ozg0L+WQJgr X-Received: by 2002:a17:90a:1a43:: with SMTP id 3mr4927735pjl.154.1621512237547; Thu, 20 May 2021 05:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512237; cv=none; d=google.com; s=arc-20160816; b=chY77ofUYIuGYnOzqgLdspXnDZSbjl01cjiOBIWR4AZ2iBLbRmrvDpIE2rXqFRAhjO xJ3niatT0tm711BpYLjcGH4K1vIP/sfB3/ZT+ly2IzhY0K6KwgJXCFPjJelsp/wchnDk 14cUK36rPMbkifDQ79qPFW8yAp5zpCGS/C2FmICB1Zo9ZVTR/qWGFeFxL8y+6mrgwHP1 d65rxg1liuhq6Tj40EawOk+Bf6FMoO0iGcYVC3mlBiFJRXqOSEeKZjyo5t38uQea0heG KOX5LIK2pglNVmzrmV0vJMl0L6K1u25+iYJW4Ur1EjfjDRvLwTWf8oJUSkQ6qgffmAwo cQmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to; bh=EkPRRoz7F84TTvDB6+0jP5Wh7M4ODElC4NQcMjBtFnE=; b=NhtA81GrILZBxfQqY9MWAtVNJv/gH/QCKjCU3hgmkwH9eW1VNeYv6qkEv/6oCFmSRS DCX971V0mzhdSrXI10OObb1i0tXSPVbH1SONYEO/evROA8YXCQzyKWHECQi8jofrsmOI J9IZy0ebisWUrsrnwBdTpjqlOrWTP9aM+zq2KRev2rM+Y1w2huzngyYIQFvvFQsaMzgV m4Tkj2auH+JphygjkDTrPk4KJ7L00J4i4nTzSKBt/Psc+w4c5tZpIO/iObFOyjhQVpwG aMfKTY5ECfDmrPneVHRG3BcXOTxfHs2976h5ITqHQBQXZrhKHs73fcl2cHGF/mTCvRqA fakg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=C7sgYTiA; 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 c22si2977165pls.50.2021.05.20.05.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:57 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=C7sgYTiA; 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 0926E6F444; Thu, 20 May 2021 12:03:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by gabe.freedesktop.org (Postfix) with ESMTPS id A78516F41C for ; Thu, 20 May 2021 12:03:09 +0000 (UTC) Received: by mail-wm1-x32e.google.com with SMTP id f75-20020a1c1f4e0000b0290171001e7329so5060810wmf.1 for ; Thu, 20 May 2021 05:03:09 -0700 (PDT) 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=EkPRRoz7F84TTvDB6+0jP5Wh7M4ODElC4NQcMjBtFnE=; b=C7sgYTiANrC4NQXV+e5udHxsCPzVZnTdUONTGFy0elAjMgOr4a4/G1J+MxGPYWhgeG fKGfGMfyFUqP/jfVk/15fcyt5KfukAI0rN0/N2CeMI481eYGwA/ae2yAGB5r+KY8XBHU WS7b7Qm8Ple3GdMdCYcMp+hm6XJtj1QmCU9DJk9LqD58oSjspNVNWGzgWaitErSc4qWm NMIpVZzr8aIs+wkkMsvfH0oKbSph/Ecueoe50rcU9k85CjFRwvRRmZROlZdtpcEc19U9 YWDrGUfx/MmdtGpYp/+KlYsxMkUJg5YvQj8KD4ya/3Nq0FnI2SucE+lTMo8DIpSGJcX6 ygwA== 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=EkPRRoz7F84TTvDB6+0jP5Wh7M4ODElC4NQcMjBtFnE=; b=NR0kjO+fAA0hJ33CVnr556h60YY1XCQy7zatqU/oX7b8V8t/Tyjo1CsEUIltkU16k0 Xn53flL+eKo40xN6zTQ8c+TXXHlN30m2k7YWrbEHMkmy3NppTe0CkrhBD4plETSTNvID LGa1b/c7+9DrWZRy2e/XblmJs8za7WCMVQQtYcNc9V9LrZqN3jF/kg3sBgWWQYY6+XLg GQZpxTedYqf3Bky/qEdFWSorUR8kgunM8QL8OzTYrUctLNGtSfqx2PgLk/zS4ppmuAxj bnl82b3gPf2JoO05RLPJWLNb/keClSOhwO9cg4mvvMQABC4PNNhhRiY1dCVRRduZDRc2 vYog== X-Gm-Message-State: AOAM532QXTkzdzpWsPxfP+cVxaHS7wX4o2kWx8GpVcCndFok6yFNE7MU haS2ekJZdL8fesbz38YsHR1SDg== X-Received: by 2002:a7b:c8ce:: with SMTP id f14mr3283573wml.81.1621512188364; Thu, 20 May 2021 05:03:08 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:07 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 16/38] drm/amd/amdgpu/si_dma: Fix some function name disparity Date: Thu, 20 May 2021 13:02:26 +0100 Message-Id: <20210520120248.3464013-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520120248.3464013-1-lee.jones@linaro.org> References: <20210520120248.3464013-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, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/si_dma.c:320: warning: expecting prototype for cik_dma_vm_copy_pte(). Prototype was for si_dma_vm_copy_pte() instead drivers/gpu/drm/amd/amdgpu/si_dma.c:412: warning: expecting prototype for si_dma_pad_ib(). Prototype was for si_dma_ring_pad_ib() instead drivers/gpu/drm/amd/amdgpu/si_dma.c:425: warning: expecting prototype for cik_sdma_ring_emit_pipeline_sync(). Prototype was for si_dma_ring_emit_pipeline_sync() instead 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/si_dma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/si_dma.c b/drivers/gpu/drm/amd/amdgpu/si_dma.c index cb703e307238d..195b45bcb8ad9 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_dma.c +++ b/drivers/gpu/drm/amd/amdgpu/si_dma.c @@ -305,7 +305,7 @@ static int si_dma_ring_test_ib(struct amdgpu_ring *ring, long timeout) } /** - * cik_dma_vm_copy_pte - update PTEs by copying them from the GART + * si_dma_vm_copy_pte - update PTEs by copying them from the GART * * @ib: indirect buffer to fill with commands * @pe: addr of the page entry @@ -402,7 +402,7 @@ static void si_dma_vm_set_pte_pde(struct amdgpu_ib *ib, } /** - * si_dma_pad_ib - pad the IB to the required number of dw + * si_dma_ring_pad_ib - pad the IB to the required number of dw * * @ring: amdgpu_ring pointer * @ib: indirect buffer to fill with padding @@ -415,7 +415,7 @@ static void si_dma_ring_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) } /** - * cik_sdma_ring_emit_pipeline_sync - sync the pipeline + * si_dma_ring_emit_pipeline_sync - sync the pipeline * * @ring: amdgpu_ring pointer *