From patchwork Thu May 20 12:02:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443275 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2224292jac; Thu, 20 May 2021 05:04:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLKywjCkyvnVwVJYV3jO7K8H7sBM8d3yp8zkuOmnO/7QhHfoGE2PmHFx6YO1j48+/0IU5N X-Received: by 2002:a17:902:b496:b029:f5:2c74:d2e0 with SMTP id y22-20020a170902b496b02900f52c74d2e0mr5525366plr.36.1621512254217; Thu, 20 May 2021 05:04:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512254; cv=none; d=google.com; s=arc-20160816; b=UHLWXy9gZLZtevrFAdS3gqA721BrxNcXH/IDfuRlQtBdr5/sAYQxJnCBgdI/j6IV+B Z6lpinSkR8+Ll8/+3af3dQdIpU0yKD7esZimw/cnEY7T7Qou8yqcO4AVwT83SQkROrNo DGvH5mOOlrRcQnkldHjcN6QnfDOY8UkmHvzS3OWyzFmU/B03Kc2eQ6u8bhKe5bPHix+A gQsmeyXWaHaamDWtYflXnN5yN1vhInu6Qto2xYgcW+NIKLGRxFHapc18KTZi1z40AvMy orXE3LSrXlu0ldUxhS27vB9uQZieEExeRPemx4EcALkIdTkm0JrXFwGb+NN44WbgKL4q z0Fg== 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=25hbKCKPnZleCOPr+RSYM8icUrz00DW2ZJX4QTilpw8=; b=yQGFsxzOA/W3T7dmp6hZi/9LuZkc+M2XJbdm2sT9vev2RC2572p9H1SpopwArVWSeQ pcmu5jZQlXNfpZfQd0ojGzhoav3PcJyyQush0GspKXf4PKQHpAOJQMvQUUuhoRw3+SbH RCirtjhZ2weTXEMk7Fwy5WdtU4RHhln/KzuuaDCvzI4TxfIMJAieAvOqf1TICwxR1wKu ZWyYExKSvv/IenVZ+u6c6Rja2bQl8lO8fKjkldzzfFoUsQFbTyo2Bk73SzfbFv9Qx6N5 hVjo8xlz6kPkHu8SabsbRexaN2QMqCtJ+d/N5j14CU5IqI7iel9j0CvTQRDEyrViRdSn Mokg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=T+NtzJmF; 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 i6si3272876pgt.220.2021.05.20.05.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:04:14 -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=T+NtzJmF; 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 012876F418; Thu, 20 May 2021 12:04:13 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id E10946F43D for ; Thu, 20 May 2021 12:03:37 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id x8so17378473wrq.9 for ; Thu, 20 May 2021 05:03:37 -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=25hbKCKPnZleCOPr+RSYM8icUrz00DW2ZJX4QTilpw8=; b=T+NtzJmFUghwg7s32gDqjUu8IBC4kxHD18dAQVtRRVAmbg0mCylHk99kLxQQPe45t7 mQwRZi00yTostuRy+A6rYt60NFhyn5sMWlWDlrC/SgC684FQxmPGwrOBcjAWxsHYiT6m X2QhXN5aCsKAbsT0nir4URuVJYeK46Emef0w3uyEPkFy/dsc834OSj5V6xX/Cm+eywih YYIEL5odB9rBQzvi3rR42Qy26ybZkPttc/evZ2pDRDawBBBcupFY7l6jEAEZ9KOfhWqW fdbNuvFM1uzpcK7ZyGlIyXPRPfemXKC0Ecpj53AbEx+IzL/YMlxvUoBwZUs1ajfWbbbO Hsrw== 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=25hbKCKPnZleCOPr+RSYM8icUrz00DW2ZJX4QTilpw8=; b=a6rnQlFYffwISl9L8T21exOc0iGsLbBo3sLq7Z97NTkokPkBMCHeJ8FxV2bQyjBfiG 2qwJbOQIkOBzoH+gEe/lJ3Z3W6yb9DI5iZ1c6aBte8JdZvC8HJIRAzkwzwyjnbyYZfjE f1cw/LhspV89Ov7tSNOr/Lc2nCQVkmbZ/C7nMeb9dBwCkn0HzUntztTiPbtAYjUuJwnX 9Pe/YmBbkoNu1+O54ihgRgJWUVhhKkEApB2lcEXNBBwkLaCdyF+M3fJLIqidQKFVgLLt F0VBQyQFusHoXwJezRauicZ21EBVey2BjerZhuWkkE/n7q8JAv5fq3oPMPVwpku+dn13 SveA== X-Gm-Message-State: AOAM5329268lblZnsFqTnIy2x4wDe0qXJHZ1F5vFDYv8kgCv9PSuY9xU oIrudreKFlDxbgcjDZsbwuZDog== X-Received: by 2002:a5d:50c7:: with SMTP id f7mr4040620wrt.189.1621512216601; Thu, 20 May 2021 05:03:36 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:36 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 34/38] drm/amd/amdgpu/amdgpu_vce: Fix a few incorrectly named functions Date: Thu, 20 May 2021 13:02:44 +0100 Message-Id: <20210520120248.3464013-35-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_vce.c:98: warning: expecting prototype for amdgpu_vce_init(). Prototype was for amdgpu_vce_sw_init() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:214: warning: expecting prototype for amdgpu_vce_fini(). Prototype was for amdgpu_vce_sw_fini() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:590: warning: expecting prototype for amdgpu_vce_cs_validate_bo(). Prototype was for amdgpu_vce_validate_bo() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:724: warning: expecting prototype for amdgpu_vce_cs_parse(). Prototype was for amdgpu_vce_ring_parse_cs() instead drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c:960: warning: expecting prototype for amdgpu_vce_cs_parse_vm(). Prototype was for amdgpu_vce_ring_parse_cs_vm() 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_vce.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index ea6a62f67e380..7ad83da613edd 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c @@ -87,7 +87,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, bool direct, struct dma_fence **fence); /** - * amdgpu_vce_init - allocate memory, load vce firmware + * amdgpu_vce_sw_init - allocate memory, load vce firmware * * @adev: amdgpu_device pointer * @size: size for the new BO @@ -204,7 +204,7 @@ int amdgpu_vce_sw_init(struct amdgpu_device *adev, unsigned long size) } /** - * amdgpu_vce_fini - free memory + * amdgpu_vce_sw_fini - free memory * * @adev: amdgpu_device pointer * @@ -574,7 +574,7 @@ static int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, } /** - * amdgpu_vce_cs_validate_bo - make sure not to cross 4GB boundary + * amdgpu_vce_validate_bo - make sure not to cross 4GB boundary * * @p: parser context * @ib_idx: indirect buffer to use @@ -715,7 +715,7 @@ static int amdgpu_vce_validate_handle(struct amdgpu_cs_parser *p, } /** - * amdgpu_vce_cs_parse - parse and validate the command stream + * amdgpu_vce_ring_parse_cs - parse and validate the command stream * * @p: parser context * @ib_idx: indirect buffer to use @@ -951,7 +951,7 @@ int amdgpu_vce_ring_parse_cs(struct amdgpu_cs_parser *p, uint32_t ib_idx) } /** - * amdgpu_vce_cs_parse_vm - parse the command stream in VM mode + * amdgpu_vce_ring_parse_cs_vm - parse the command stream in VM mode * * @p: parser context * @ib_idx: indirect buffer to use