From patchwork Wed May 26 08:46:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 448143 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp5017047jac; Wed, 26 May 2021 01:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSM+oARiF0zWnCISIzdAkceZOBZXhx2tBu/H/4lFAIEa75Cf8P6Xq+I1kyGT7nwXIKhFrD X-Received: by 2002:a17:902:bc44:b029:fd:ea73:a2d0 with SMTP id t4-20020a170902bc44b02900fdea73a2d0mr413591plz.3.1622018871957; Wed, 26 May 2021 01:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622018871; cv=none; d=google.com; s=arc-20160816; b=ycz+U9/c/daJj3B0Tqf8J/r13Lw2natsCmPqm+Kigm+hA1dWETKzUOfZibbGiQia93 W6Ka2exF4Fpkxnx7HueLl/sPml2meZWsjunwCmuvRQWzt59Brtxz5T892fVHLaCmlgod ZOoHYW1rLVeDQxAZ43ci6r8gDS+bA+RSo75Ds2A3yUycKdW0QxFmx4FkQEWrok1HXmwa Vp2b9d/vrWQZxF7s+SotDwOI9c8wNWGzgs0Jm0g0aVX1rx04QcyapJ/4P4CRWTMD1UBB +HcSN/ov/j4Pxs+WzbzCSohcKtHd7hlAQ1QL2PsAHmAbE+jyDX3wp6UPh67LpY87Nf99 rR2g== 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=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=Hd7Dypwhb6/+ZLdaSOqsE+TDoQ/APFJxVaCKTx0LRDNMgQDlm0iYE9bRdQcwo4gPrf yRlt+2ApN9EZzx6NDIr7mCIPKavaTtxtaY1mWhIxFCYzS5dYmw3hnOOyuaia6Y2LvBU9 bJZHFbRefuRkXitflljvbhg1sgFLoO8+aZB0lj6+ujrdpYEf3k/MPZ4N6R1/cS9LLLQv vbMa9wDeKmjNVAo8NU8iBh6lzVuIGPREbpxq92/iGkqQXqURp3wBLAXQuERE94Z1n2Df Q5fCmVKYCLtTMsHPJdlfiE2RGNQWTDsGPz6kvtMTPWK9zsEk3GkCX6I6Yubdgm45dkCb 9N7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="L/iJmUQ1"; 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 pc11si6159865pjb.118.2021.05.26.01.47.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:51 -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="L/iJmUQ1"; 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 5F21B6EC41; Wed, 26 May 2021 08:47:44 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by gabe.freedesktop.org (Postfix) with ESMTPS id CBCFF6EC32 for ; Wed, 26 May 2021 08:47:35 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id f20-20020a05600c4e94b0290181f6edda88so8109514wmq.2 for ; Wed, 26 May 2021 01:47:35 -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=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=L/iJmUQ1wl4h9pSToLi6ngPyg5UA7AeSWQLOEuFjYdsGt+aIJ2JW3IZyE7TyAvl9zp glIhu+aKxXtueYZgd2owFNE0ZH3GVlcEDRAUqpItp+X/sLU+ZR0QYqsLVt80CWoZJUk/ 8d8WNwVuJvhfQqGDn92TSIpDtUNG2tSRqfbjU47JhqUsypTbNrf101/f47GA1k352++H H1+XxvhmsG5nyLGBwyds2ImgQK8W/kvKF7HlRSoMRQP+UXOpqJQkYUi1HhAHi+j/Z6X3 TtYsAajhfILOXFoKHIGLxd1yRvhSIi+4tL6F4Et9K+iLfpi8CuxPUGxU+XqxliUJ2Jdq FoyQ== 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=Ey2XQCTHoPB7PbhRpIhhlCIFboLF4MIg90vAb+6Iw48=; b=oGy71P6Uo1+Gbuay3UiikAoX5svVvz0F3IJFshaNrdi2XvRHedDd5tyojsDFe5beO+ 6tcf2MsBbHckdPsnEehxz7wP7UMHleXTPFqEocY+icDv4de7USkoEsQTLXqek11r3Sd0 vP8V/sJpfWM5hhXHhGW1AwZWNs3CU0ubBdS7Y0iszA/XgEK/HruNbo7j4bQBE5vkt3hX r7mada/hoDhvZFpa1Z/CfszQP+LZG50+iaDjBwIipOFMIha1wlvSGX7liHeVWRlDvXc6 GXM/dGpm1WEDkbmWtyUaSmM8ob0CWL18EB4SR7Qiqk7jn/zjxFx65EyiQBlnxqbPtnO3 Zndg== X-Gm-Message-State: AOAM531qrTXSY8Nk1Fo627u9Oody5lYa0H6VXm2khsDaVWDPXq7fnGoG HwCSRwOzaDvdOX5AwowRFsRXNA== X-Received: by 2002:a7b:c417:: with SMTP id k23mr11601416wmi.90.1622018854475; Wed, 26 May 2021 01:47:34 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id l18sm18911918wrt.97.2021.05.26.01.47.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:47:34 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/34] drm/amd/pm/powerplay/hwmgr/vega12_thermal: Provide function name Date: Wed, 26 May 2021 09:46:56 +0100 Message-Id: <20210526084726.552052-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526084726.552052-1-lee.jones@linaro.org> References: <20210526084726.552052-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 , Evan Quan , =?utf-8?q?Christian_K=C3=B6nig?= 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/../pm/powerplay/hwmgr/vega12_thermal.c:171: warning: expecting prototype for Set the requested temperature range for high and low alert signals(). Prototype was for vega12_thermal_set_temperature_range() instead Cc: Evan Quan 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/amd/pm/powerplay/hwmgr/vega12_thermal.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c index 0dc16f25a463b..ed3dff0b52d21 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_thermal.c @@ -159,7 +159,8 @@ int vega12_thermal_get_temperature(struct pp_hwmgr *hwmgr) } /** - * Set the requested temperature range for high and low alert signals + * vega12_thermal_set_temperature_range - Set the requested temperature range + * for high and low alert signals * * @hwmgr: The address of the hardware manager. * @range: Temperature range to be programmed for