From patchwork Thu May 20 12:02:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443252 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223416jac; Thu, 20 May 2021 05:03:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwfC1zhrzOB2bxwqDyAywTx3eUpjH4P5mJHrZuXc5ZAdD+K8aBwrG4AcAG8VLk0rsZ9iZGt X-Received: by 2002:a17:90a:c285:: with SMTP id f5mr4836023pjt.221.1621512209989; Thu, 20 May 2021 05:03:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512209; cv=none; d=google.com; s=arc-20160816; b=Z/xhfHYQczkz89Mue6ziJEcLAua1GPsGSTnvLRvYWc8pFby6OZujRVa1OtUimlvfjc 50A2CWWy+yjK/9DSS5OQwUDkK1cZRSmKlqlB2vSvtrusyLhyFRkBw9AQymHK+s8Uf+JB N9VSL1gEfrBANyfR0mjvjNDSxD+Ygq2WVir7tbgjsXnrNkRGvPjLtdG880wWRmA6ibWv jnxW5mD3/h7SOE63oO9Y7DNIKrxkms0f6fy7V4qzVjWPfFKbiNO04ulIx+U/lHq/QR2w qkBGw2h0bCQYhmMnyI9HE3Jx1TBjNOBJlFQl3HlV1yndOy+3lrEGUwzwEkRUi7Jdf2a9 TsIA== 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=fcdvP1BzIl3x+PleFuz79GqrL71ya8Oj0cjWTPEe9qs=; b=iQ3ns/AOmS80Oj6Tf71UNBmeAGDt7EMsZ0cDrJWaipoOQeqpiRAzvFssSukbbXultB PcIX7aDLXIkqK8E245jn/IHWLN4kDl6dKrK22OM8/AyL+G5ihnDgqeZ2OML3jZ5EmW0K 77YLSy1ofI+MxnKW772rjJADe2/kIxVaSUtUnPd8Kb2QxTCmGR94SR/dInUJ2sHjZN++ djgCTPaTHf9dDjOfAwNPmO/vKmuODNKX7d41iKaR3LrKt3Nv1WNkLmIDypMgNjknX4fn 4Se0h8S28zoopCZQf6F3V9QxTldM2iQVjZ8vWeViWhIfiab9aS1xyqmvee3n+mdcJ2/z IWGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=S64+RsMh; 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 ge2si2710900pjb.105.2021.05.20.05.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:29 -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=S64+RsMh; 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 2CD6F89491; Thu, 20 May 2021 12:03:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by gabe.freedesktop.org (Postfix) with ESMTPS id 976EA6F411 for ; Thu, 20 May 2021 12:03:03 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id i17so17364394wrq.11 for ; Thu, 20 May 2021 05:03:03 -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=fcdvP1BzIl3x+PleFuz79GqrL71ya8Oj0cjWTPEe9qs=; b=S64+RsMhtnMW++KWmgbEqE74s+1Eun93Cetk185djJxdf9FR/w3NO0qeRSBTZAUFYU FB6nzj6Sxtn5klIAr4ywcIjV7hv3BgISoh2zt+tMge1UCEgmN1vWhrZoNVQeEy45T/Ql +0K2ZcIGbt24yqiLKYYl/cHvWnxeUjIKKWK5rvgnebNYyxCZ3Yy818gN69SCWXS7YJuO f+zvHzX9xgejdrJxFd8Fhs/Ct4LMGjtnM/i0KYu+XTmU+Uc09GxP0K+z5Ls8wHScKk3V 7Jau3cb2J+9G22D/R9+h2iplsHPh+OlUNFAPPRAcC0rEi+tnIbZdVbSbjIr+xSmlbwTs SdHQ== 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=fcdvP1BzIl3x+PleFuz79GqrL71ya8Oj0cjWTPEe9qs=; b=q2Ly9l2/jbBl27kUqNFfYujYViK7Kz/7mxHM1OtHqVF+DeAJj3jCzFc2ubFBW5W6S5 NMRJ5/XT8Je4HsydrVCfn0l1VQfHzElXk1H7tsDvrp3HHCSUlNZ184AHOtaQS1soDFqW o8GVcmH8ptnI4KKvDqoWlWFMqk+606WAMqwBx8/2j/GdcpVhTpGgrISYQFxle/5AfhGt I3pQDo0fgwDWAxY+lWp0sdT6AdwMi0SfDAUj9ZIcnEkXxra5WMuH3iFchaQoUNmFOjoV lK3/22VFLpItfEFJK5JiFzyKsN9Vz/kqNmoPuER2KghML2+mVpb8hRQVdq7aBP+YqmH+ h7ew== X-Gm-Message-State: AOAM532OBe2MNBmEeUJqT6NALKrtfLoFWm6EoNyFnhwZ5uEZXK6egAu3 d1NkOSLeT3k5IaBn4oag63TTTg== X-Received: by 2002:a05:6000:1001:: with SMTP id a1mr3828637wrx.59.1621512182229; Thu, 20 May 2021 05:03:02 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:01 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 10/38] drm/amd/amdgpu/amdgpu_ids: Correct some function name disparity Date: Thu, 20 May 2021 13:02:20 +0100 Message-Id: <20210520120248.3464013-11-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/amdgpu_ids.c:200: warning: expecting prototype for amdgpu_vm_grab_idle(). Prototype was for amdgpu_vmid_grab_idle() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:272: warning: expecting prototype for amdgpu_vm_grab_reserved(). Prototype was for amdgpu_vmid_grab_reserved() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:337: warning: expecting prototype for amdgpu_vm_grab_used(). Prototype was for amdgpu_vmid_grab_used() instead drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c:410: warning: expecting prototype for amdgpu_vm_grab_id(). Prototype was for amdgpu_vmid_grab() 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/amdgpu_ids.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.31.1 Reviewed-by: Christian König diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index b4971e90b98cf..c7f3aae23c625 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -183,7 +183,7 @@ bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, } /** - * amdgpu_vm_grab_idle - grab idle VMID + * amdgpu_vmid_grab_idle - grab idle VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -256,7 +256,7 @@ static int amdgpu_vmid_grab_idle(struct amdgpu_vm *vm, } /** - * amdgpu_vm_grab_reserved - try to assign reserved VMID + * amdgpu_vmid_grab_reserved - try to assign reserved VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -325,7 +325,7 @@ static int amdgpu_vmid_grab_reserved(struct amdgpu_vm *vm, } /** - * amdgpu_vm_grab_used - try to reuse a VMID + * amdgpu_vmid_grab_used - try to reuse a VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to @@ -397,7 +397,7 @@ static int amdgpu_vmid_grab_used(struct amdgpu_vm *vm, } /** - * amdgpu_vm_grab_id - allocate the next free VMID + * amdgpu_vmid_grab - allocate the next free VMID * * @vm: vm to allocate id for * @ring: ring we want to submit job to