From patchwork Thu May 20 12:02:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443257 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223602jac; Thu, 20 May 2021 05:03:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrluE23/okxWyNlolKSTODVjvPZ34epUjSW8uTpGQtANyHT6EtoPAmMUKkxHLtRkolDnpB X-Received: by 2002:a17:903:3106:b029:ee:fa93:9546 with SMTP id w6-20020a1709033106b02900eefa939546mr5513189plc.23.1621512219577; Thu, 20 May 2021 05:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512219; cv=none; d=google.com; s=arc-20160816; b=C2QZxb+KUm8BIHoPx0UU/yywTGhzeKpUBNu0blxKUsfHQ6pk0IMusZ4v4RpuZFhiPj ZJ4yoPcGVv7w9dHqjRZyx7krF7k1vlfHFc4MvyTfzLI5Xb9FyELtmVpqVu9J6ird9tc2 ljGQvCoHSbjkJF8XDDYfJKMxsY3ItErYDXizF4BnRGAQYqV14yFPtnBjoeM5qTi6j2CI e2OFo62l1gzS12w5NuW4D3F/9cepsim0DV6EgCF+7PHqnIIh1MCJ9DlQD677jY99biY1 MyIm+wApWS4CP2JhbUkg1HV7cuaOn4Yf4/KxrUZlG0n3pLXZD1nZKgy8Pwqxd+uDtHFc M3DA== 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=dzEKHJu7OFwu6XLDUaDLxDd4w/v+Udk50uYERKk06w8=; b=IGkYmHrxdi82455+Gri2zvVnPKbi6LxOVbKA+c5njnRcDcz7XNDKwJESMsGGbiwdfk vbfRMApApDPFTn2HKlK17FDvhN8LnpDScBMWUsn21TBIdcaC4POCcyg2Apbia2I/yx9O dlJc3N6wVm74xK5YBVI6uB2cb6LuoLx/gXscxOsBQ2IRVfV7AZzewul4Mnrq5H0P1IiD m34gjGh8ihMlFnhLHVO68BN0tcXRq84518/nMjqdltn2VuSFhCsi3vPo1bMFlIXRJ+B5 Lvgqqo3HWVOD1nfeAKBePLAU1rEMbv5rvzJu33aKM3LF7t4Oby2a3vY/1I4hOg/aSmeK DX+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=akXNjOoW; 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 m25si3065104pgc.597.2021.05.20.05.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:39 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=akXNjOoW; 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 27A7B884FD; Thu, 20 May 2021 12:03:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id D85306F428 for ; Thu, 20 May 2021 12:03:13 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id z17so17370827wrq.7 for ; Thu, 20 May 2021 05:03:13 -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=dzEKHJu7OFwu6XLDUaDLxDd4w/v+Udk50uYERKk06w8=; b=akXNjOoWI+hd9MtdjEd3PDOoyWFJFQqHYHLes7Q/ANFm6XOCR8E5Cujfd2BlPcBXCJ C3YQiJErJHlF0iiCtQSDwYs4ICfqx8+8BRPLBFZnIoPK3c0o/YXhMgTid38JyROYm/Vo teMr/RuOODaLYuS6h3C46IBLgzrTnsodcGqrjjrXvOrTzmRU6NoLhk6W3BhXiVTACjp8 jyK92zW0AYM7tqwKFCElGatYODSlzWHsVPJIox4VcBOVAKulRUxCE1MhQwL16a6CszDD 7yoZj+SHj4mtjkv1Id4QNGOSta7CCCLMZ9DdAYN154UEh2+GSkR27h/PMlGz9jv3heXo P0mw== 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=dzEKHJu7OFwu6XLDUaDLxDd4w/v+Udk50uYERKk06w8=; b=ZEZ9YeW7bDghRI2158+Pez3+h/0BSUfNi49NAKoV6kxgo1lfJYcTZSBSH+fLnC1Pmn /Zo1E3YShueEVo0SavcXJ3OFMBErwGW5o0roCL2NyqcGsCqeKh0PZShvgeIOzutKrjNs Hnrb1qbheCVNq7snAsoyC+nACyIpWhPp4UxJ7RigWGDdYNY8Ly0qRk2mes/Y6ECgcweT fuuw+q/YWXEOCkJYxnDZLiMB9/8tGKS98kj30BC07knrygSFrX5B0K2FX2XAp4zdMPlg 3eyLOqMBEs0YExbn6VdlyCJ44GjnAbxtjJ+ePw95lxng1KrUsc1Pw4ym74F+AJA741fV qj5g== X-Gm-Message-State: AOAM532E2ECGuK+5wyBfr59N0vZn16JoOOsD+grWziWJbOyeOMuKAI6O sz9k2TDwvqN2oz3eCKwar9CVAQ== X-Received: by 2002:a5d:4408:: with SMTP id z8mr4009264wrq.2.1621512192604; Thu, 20 May 2021 05:03:12 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:12 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 20/38] drm/radeon/radeon_vm: Fix function naming disparities Date: Thu, 20 May 2021 13:02:30 +0100 Message-Id: <20210520120248.3464013-21-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, 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/radeon/radeon_vm.c:61: warning: expecting prototype for radeon_vm_num_pde(). Prototype was for radeon_vm_num_pdes() instead drivers/gpu/drm/radeon/radeon_vm.c:642: warning: expecting prototype for radeon_vm_update_pdes(). Prototype was for radeon_vm_update_page_directory() instead 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/radeon/radeon_vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Reviewed-by: Christian König diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon/radeon_vm.c index 2dc9c9f98049b..36a38adaaea96 100644 --- a/drivers/gpu/drm/radeon/radeon_vm.c +++ b/drivers/gpu/drm/radeon/radeon_vm.c @@ -51,7 +51,7 @@ */ /** - * radeon_vm_num_pde - return the number of page directory entries + * radeon_vm_num_pdes - return the number of page directory entries * * @rdev: radeon_device pointer * @@ -626,7 +626,7 @@ static uint32_t radeon_vm_page_flags(uint32_t flags) } /** - * radeon_vm_update_pdes - make sure that page directory is valid + * radeon_vm_update_page_directory - make sure that page directory is valid * * @rdev: radeon_device pointer * @vm: requested vm