From patchwork Thu May 20 12:02:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443270 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp2223931jac; Thu, 20 May 2021 05:03:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsvGAodEy874SxsuBsDGDnkPtyC/3419BuR9vEz0XKW6H2VOo+dhSdZX5fOhND0V86cdHD X-Received: by 2002:a05:6a00:b46:b029:2d3:3504:88d9 with SMTP id p6-20020a056a000b46b02902d3350488d9mr4213772pfo.39.1621512236252; Thu, 20 May 2021 05:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621512236; cv=none; d=google.com; s=arc-20160816; b=KP5dAZFgSmS9COKuThZtn0gU/Ft1MuDs3YLpO+rhMgG045nWJ4oVVSxL6slMAL3AEM OwaT9cef1ZKy3sp9YpCbs/N0zf/3np6vj5G/bI020VgAK6em12BPu/i4zTo8/bgce0RS H6m1OIzll9Zk+oPFlBHXJbq2RJYYDOHguK0klMZE6Oafeq1TW+xB1GIz1IWoBnfJxb2g nMe3PKk4rUtZ0FJPcifqsnUSQoGlUlc+7biPqut1n8/6tCVIqR3danZo8KtHRugE831Z 7oN4fzOXN0ji0+ue0r3KJQsV+HnI+gDtkY/eoBfRnZjBK9QMxb4Tj86WdGgP/0ImFZFs lhXw== 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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=j/ujgLNdIMoYRieIAkkZ0XtGxx7sqHI/TEotTguynjfDYLJZGOkCrbkbOfp2uj1Gen vybwyLQ8+g5biyNUq8cQuX7JFxhlGuJPQHvJ4t5WVo7A0mEz8jpP2dwbdrbaBjnVvKYC ruwWBe3ODrFf0yWXMDeG/dhOenWOagDX6/RHtzFnbqp46MNoeohi2al+/b7+jAcbJzqa xhRPRlrRJ8kmqD41WuvaPp5+bVBVR5dnHJCk7T1t7ufXgmYkWZ6RLWd7JWnME+CBmvgU 2qpV6Z1l1EuJV+WephNRJrQouETZg1FjTQTqWXNTVv1n/qvpU4U+H0rQQLd0V2L+57iZ sZcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=tUt9PCzC; 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 z10si2991921pfa.253.2021.05.20.05.03.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:56 -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=tUt9PCzC; 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 BA44B6F447; 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-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by gabe.freedesktop.org (Postfix) with ESMTPS id 746F66F405 for ; Thu, 20 May 2021 12:03:42 +0000 (UTC) Received: by mail-wm1-x333.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso5254868wmh.4 for ; Thu, 20 May 2021 05:03:42 -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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=tUt9PCzCAgYSzeHm+P1Ghip4HpN8YnHaAQec9JZBmLu/UiSm3dqz+0Eq4AUl1JeewR GPJihct9FOVQk7MB2BFf56q8fgx85aYR1AVv4Qb6uC8h6Ig9DVcUY7MNDzmrmoDmnIVb b/aDxqtCCaItHxQN4Vue6SffHLJ7GJRadEFaztJ5Q8avyChaDNrAD+Ve16oA+kOl3BzC I4cIFXOmH4nMVxIsG+Ishev7ik97tI0aY9qluBFyK3K2uGqRy9bxMoPdkvr2l4hkolMs M8aDaXX0uZ1vnu1y9mtQxAFhZKb3Dmtkr/iNiF1oT3caN0gj4X66CvQgpZcatQCGQTDQ Ig2g== 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=6mgshcP2pz5KQTmITqtWPb+8Vos4vgRG6+nB+UjzMjU=; b=JOBpjW501ewAQcuAWfPtrAyIh74lCUT9vudi3ZzFf60lBXDlcw+EShhqm/Oj9qCTRd UPJAOg0kmkyelIzK/cliSvJTctsAxaLP4ezDMtEieoIUa6kRzzlHQ6KH+fPuZrT+hJ58 O8mtTyB26bmpUnxmAmrWJyN9mrL5gXDKExHpGtn11n5Pxhu2r7UU1SKuucJXx6cyGTqf aIgNwmTaVYTq10iZCs4a44rDshvWx8YGCuh5CxMJLNWHNBhMrBxXPdKkv9qpOjdSU7+J 9cJtihvEEEnaazHbrWBJ/caDGCHuGIUUUR7GIrNFLxKTjHcetTTIZXYoGrB3QKZPM96I vFpw== X-Gm-Message-State: AOAM530xBcdUuYxj8/XSdtRftcz6u2zIiQfce1TwVc/UaKdEB6zBgo7M T4OA/DtoqR+pupL+/jw+1DV+Sw== X-Received: by 2002:a05:600c:2054:: with SMTP id p20mr3758231wmg.165.1621512221171; Thu, 20 May 2021 05:03:41 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm2886332wrt.32.2021.05.20.05.03.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:03:40 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/38] drm/amd/amdgpu/smuio_v13_0: Realign 'smuio_v13_0_is_host_gpu_xgmi_supported()' header Date: Thu, 20 May 2021 13:02:48 +0100 Message-Id: <20210520120248.3464013-39-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?= , Hawking Zhang 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/smuio_v13_0.c:99: warning: expecting prototype for smuio_v13_0_supports_host_gpu_xgmi(). Prototype was for smuio_v13_0_is_host_gpu_xgmi_supported() instead Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c index 3c47c94846d6d..39b7c206770f6 100644 --- a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +++ b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c @@ -106,7 +106,7 @@ static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) } /** - * smuio_v13_0_supports_host_gpu_xgmi - detect xgmi interface between cpu and gpu/s. + * smuio_v13_0_is_host_gpu_xgmi_supported - detect xgmi interface between cpu and gpu/s. * * @adev: amdgpu device pointer *