Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1249216pxj; Fri, 21 May 2021 09:39:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx970pL0ccl7F0eqwant1wqz8K2I2WT5aopjf0hdeZlBVtL7lcrB4mDicq7MSNOz+iiyAxb X-Received: by 2002:a05:6402:1052:: with SMTP id e18mr12516132edu.366.1621615183567; Fri, 21 May 2021 09:39:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621615183; cv=none; d=google.com; s=arc-20160816; b=gmr95s/BMcHo8Yp4UU7CBKBFFzwmiw38uN/tNgcROxGq/lso8H8GkjH83jV7O+V8LA TjtUd7fqsZro2tyCaGLvTgM/BetGwgmUMnGwdQAgaMzVG1u/31ucde+IF6W6KkAWqgBH GDcu4tNe39I4X0QaxE8cLR5uJBPrWu1l37SRU8WmaYq/hk63XvLB34rt3/3PIPhv0fnN NGvb76FNgqCQosu0QL3NZ+P2SVBnroSYOaa+Tfg/YRf7lrN4caTX3zu/JPnCb6qkPjTm kzRGfobfvVpoLfRUaIUEZ56kEqtKNuYQVkKN0y3t0yqEzY1Zf3e1kvHa1+JeHKDkQWo9 hsdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=f1HOQI0BiwYrzUbgtBfaRLayWrin0jlbAh0a0ONBLOo=; b=URxp2jcCdGikaGFm7ADOU7MtuwO/ssOmA5Vu/iY/VCWajvdb53Enk7O3zJsSAfyzTU xR2JlSYZp6lIFYMcps1vzQfRkz3N5cHkBjEIZMh6RPFpvcXCrel7ro/vo0H53h8WTeSk PTUfgs5Sbb298Ka7/ZO/umNNWhymnUpvwsP76TZDIswRRJv10262yiERJ92Xab8cC+Wm 15GcmXhqNuvNauFKtTTNF/YNsGn+k3cFJhKuWHuMqUm5kBMQcXVsEJD1pfyxVSWf9FqO HG1q57C6vdipcWCmu0Wgq7G1Xgpm+S1DtDnMCaydgPAEL6fH63bGkPA50gmUttmtvq3P 9/1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uQBkLZJq; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b9si5898404edd.593.2021.05.21.09.39.19; Fri, 21 May 2021 09:39:43 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=uQBkLZJq; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236693AbhETTO2 (ORCPT + 99 others); Thu, 20 May 2021 15:14:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233891AbhETTO1 (ORCPT ); Thu, 20 May 2021 15:14:27 -0400 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C771C061574; Thu, 20 May 2021 12:13:04 -0700 (PDT) Received: by mail-oi1-x22f.google.com with SMTP id v22so17436002oic.2; Thu, 20 May 2021 12:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=f1HOQI0BiwYrzUbgtBfaRLayWrin0jlbAh0a0ONBLOo=; b=uQBkLZJqm0DE/dKM+x7eb9gLh8/XDQt5USaoCAeW2WbEHrTj2uym/bC+wCmhG0gcl4 v4NQnxVANDznwTrUF2WAxSaLDVfwZPjcLsiIUd7gsifdF2O/K+9d/qSdM6vpL8UzCQ2/ 73uBQdlN03hLEV+x5rSZqiIJ5du8gB+Fgd9odvQcpXzIPrTOB/QGQ9IXdoDesyE8sy52 kfTPxvTssaqnqYUnD5b3xYlU05n8y4dO7HzRUksofF4xi+w4eDcv4jFMSjbhQpef7aRE 3zbqsXANWhvcqhHJDz3Qn1pw7IL/xwiWgYZDEcs/RBTUJ1t8qLRcLfZsz6YLEMgo8I/0 DINA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=f1HOQI0BiwYrzUbgtBfaRLayWrin0jlbAh0a0ONBLOo=; b=ia41hAVHGaG2bdxLxe3Dx5o6xkM4fsnj5Rs4q7gwizy7E89U9uKxoeZ+1ub2gZAcu9 2z/by/eSDLssH8fBp4HN/ApFWpT8h9oDXp/B6WSB4SVo7S/ysHtBJ5x7JTmjG58m9Qq3 cm5ymYup8m+beD0lr/Nb69QiiE+ebc8Uo19V+T6s+qqmG/fvgTQtjSckYs1g4voKpXys dGk2woVb00cfjYhOAEv3+bMFvEJCvwlKZRybRHyj0ZPsJzhPBcxwiXuHZaGm+oDZrbYU wldTS9s60hx03eCkcKpD5VJ1giZgFpIRZQB3UaYkzDXbAdT1tetJb1FwlOlOACZ6KbB4 KiYQ== X-Gm-Message-State: AOAM532EPFSPT9G2cqEH+Muib1MnhZuAkzbhd2qi/g9ONhYRQOszWDqz 75RiX9/6vr4b3oViwZXCn2VO8+SkW5bCVDNVCD0= X-Received: by 2002:a05:6808:249:: with SMTP id m9mr4186705oie.120.1621537983767; Thu, 20 May 2021 12:13:03 -0700 (PDT) MIME-Version: 1.0 References: <20210520120248.3464013-1-lee.jones@linaro.org> <20210520120248.3464013-14-lee.jones@linaro.org> In-Reply-To: <20210520120248.3464013-14-lee.jones@linaro.org> From: Alex Deucher Date: Thu, 20 May 2021 15:12:52 -0400 Message-ID: Subject: Re: [PATCH 13/38] drm/amd/amdgpu/cik_sdma: Fix a few incorrectly named functions To: Lee Jones Cc: David Airlie , LKML , amd-gfx list , =?UTF-8?Q?Christian_K=C3=B6nig?= , "moderated list:DMA BUFFER SHARING FRAMEWORK" , Maling list - DRI developers , Alex Deucher , Evan Quan , linux-media Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Thu, May 20, 2021 at 8:03 AM Lee Jones wrote: > > Fixes the following W=3D1 kernel build warning(s): > > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:735: warning: expecting prototype = for cik_sdma_vm_copy_pages(). Prototype was for cik_sdma_vm_copy_pte() inst= ead > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:762: warning: expecting prototype = for cik_sdma_vm_write_pages(). Prototype was for cik_sdma_vm_write_pte() in= stead > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:792: warning: expecting prototype = for cik_sdma_vm_set_pages(). Prototype was for cik_sdma_vm_set_pte_pde() in= stead > drivers/gpu/drm/amd/amdgpu/cik_sdma.c:814: warning: expecting prototype = for cik_sdma_vm_pad_ib(). Prototype was for cik_sdma_ring_pad_ib() instead > > Cc: Alex Deucher > Cc: "Christian K=C3=B6nig" > Cc: David Airlie > Cc: Daniel Vetter > Cc: Sumit Semwal > Cc: Evan Quan > 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/cik_sdma.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/= amdgpu/cik_sdma.c > index c4bb8eed246d6..c8ebd108548d3 100644 > --- a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c > +++ b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c > @@ -720,7 +720,7 @@ static int cik_sdma_ring_test_ib(struct amdgpu_ring *= ring, long timeout) > } > > /** > - * cik_sdma_vm_copy_pages - update PTEs by copying them from the GART > + * cik_sdma_vm_copy_pte - update PTEs by copying them from the GART > * > * @ib: indirect buffer to fill with commands > * @pe: addr of the page entry > @@ -746,7 +746,7 @@ static void cik_sdma_vm_copy_pte(struct amdgpu_ib *ib= , > } > > /** > - * cik_sdma_vm_write_pages - update PTEs by writing them manually > + * cik_sdma_vm_write_pte - update PTEs by writing them manually > * > * @ib: indirect buffer to fill with commands > * @pe: addr of the page entry > @@ -775,7 +775,7 @@ static void cik_sdma_vm_write_pte(struct amdgpu_ib *i= b, uint64_t pe, > } > > /** > - * cik_sdma_vm_set_pages - update the page tables using sDMA > + * cik_sdma_vm_set_pte_pde - update the page tables using sDMA > * > * @ib: indirect buffer to fill with commands > * @pe: addr of the page entry > @@ -804,7 +804,7 @@ static void cik_sdma_vm_set_pte_pde(struct amdgpu_ib = *ib, uint64_t pe, > } > > /** > - * cik_sdma_vm_pad_ib - pad the IB to the required number of dw > + * cik_sdma_ring_pad_ib - pad the IB to the required number of dw > * > * @ring: amdgpu_ring structure holding ring information > * @ib: indirect buffer to fill with padding > -- > 2.31.1 >