Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1149597pxu; Fri, 27 Nov 2020 00:29:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXLlovPKoDJWt31IrqB3JSFLc3TeMXZ+yvGeJK7ZOJmBpY6hE8KUfq1reIFAYBNNEl04lW X-Received: by 2002:aa7:d41a:: with SMTP id z26mr940872edq.267.1606465781637; Fri, 27 Nov 2020 00:29:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606465781; cv=none; d=google.com; s=arc-20160816; b=FNQno9OoeXqOzbNEdSCKrQ3b9gWp0NTAIt4f3va9icx8Bapm2ciJb8p8XoNyd3iv/o tGbytH9vLtIwAUB4Uj50CQvXigMi2rsjBMd9a8b5fHVtd2xtpQ9/K1S52rt2uMl53ok2 /wZkMWr+3Du8Q1CecI60wkgfRkig12jMucmxYHqobI2/wCjLB9NDua3o4ysAc56SCs5v s5tizVMqq6kHLMbIhrM12q2zXtYKpFkuIk5EZNkb7C2sGO5qJzTznTOLeGBLiOL3Kr6p Cjin3KTwIpXRf11oCvUPALEH3wtn9OtYQLsoVoAUVmFeOtpCn+W9+8lsAaeK33b4TEe5 dWsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gri5Q1ZsHo+JoBxGfrJZZW9SZIInF5/xkJvef28TzCQ=; b=h6MM2av5l02tMjCZYYB3MAziSwqh8wdvhURaE+j/xWrWWhnksLeqYzFh/+hNrg4Ck5 BDfDR0IhfYv6rl03NQXsfLsetgCBeGluFxmmFseZW8LABNA38xsEO7qEhaWQ581QmzCE 5NV48Vi8aC5sttkE29/Cxisn+1lRcqZn1EFfE1mwfgC/f/N821PINpNJWZszWkhVcsuq /SuqlaPcU8t/b86myxjM8u5MpTW+1iO6V9qxlEzkNav5M+VpaH/gN2g9cnrw8gyqtb+7 JX2OzySyFPZSRD7R+RCmTBwZvmEGk8++wKYfPOkCKI7JsETZpH0iEYjeoZdmstdjz/2Z Jayg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fqPPgyNW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si4706485ejd.580.2020.11.27.00.29.19; Fri, 27 Nov 2020 00:29:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fqPPgyNW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390822AbgKZNnF (ORCPT + 99 others); Thu, 26 Nov 2020 08:43:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390803AbgKZNnB (ORCPT ); Thu, 26 Nov 2020 08:43:01 -0500 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A9D3C0613D4 for ; Thu, 26 Nov 2020 05:43:01 -0800 (PST) Received: by mail-wm1-x342.google.com with SMTP id c198so2210661wmd.0 for ; Thu, 26 Nov 2020 05:43:01 -0800 (PST) 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=gri5Q1ZsHo+JoBxGfrJZZW9SZIInF5/xkJvef28TzCQ=; b=fqPPgyNW5YpmOSE71xHIKuvM+xg9IUILLUjRvO1hWX8/333x8W4QT67NPv+C8bozIy tFMqF9icDS0zvyTYZgWA/m1fP0mCA7OTmHoUE2MDnIiXC9C3s2c+eDGlVzXLXwjGsVe+ IDFwppI5i0UFrRo0NZjZ70MKdLrBCl7IB8cqFEMoqacGdKqEUpy4PeNmvBdiVrp/5mXA AyPY1L3++JBVT/rTM+8v2z9lupnMBLt5Y+1T1592dGIa4JCSyREVc8Nf1t1JHL7NPbfL 8xYftyKeq7YlGfWS2xkpEPVttx7SNLBqIcMnMACyPyTAB1kpH27piWLOWJ+DylNcrA9Q K0Mg== 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=gri5Q1ZsHo+JoBxGfrJZZW9SZIInF5/xkJvef28TzCQ=; b=Jm1L1Y+QArADfDXdZwhykuI4o6dxFwBUy5p7S5C0k8sauF3FlStjNfi9Gilgn9hIUO cZcHbPTTbvJQCxH2jlSb+owa4f9UeDCCTAu4gc4zfQwgs/pQmNOX8kqFy0HVKcw0jCyy GxwETW3CWxj6p/P/hkgE/D8NKOfkOC9AXcxxN+s3KazSVQ3G+lSUKSKkyeXwlkzAnfGI bd+WRJA/nCaveD73lQfbcCwNkLaLNA0KTGl4CbdcMPAXNPzG+f/rxhQL2nSNyY+ZPFn6 gxqznaXfouOQmpLJldh+zV8TmeY3MtB+2A/QeFlTStT0YwU2X26jCFiyBNr5L3eUUGUi +LZw== X-Gm-Message-State: AOAM531TYXdvPbQstPAYEJT0dEGGfv73Ylp6P4brl+aJgWGcAP4MkfPX POKUAmkBAV5tQ0Z8UJ4DYkfFIQ== X-Received: by 2002:a7b:c1ce:: with SMTP id a14mr3493478wmj.169.1606398177946; Thu, 26 Nov 2020 05:42:57 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:42:57 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Evan Quan , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 09/40] drm/amd/pm/powerplay/hwmgr/hwmgr: Move 'smu8_init_function_pointers()' prototype to shared header Date: Thu, 26 Nov 2020 13:42:09 +0000 Message-Id: <20201126134240.3214176-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): 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/inc/hwmgr.h | 1 + drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/inc/hwmgr.h b/drivers/gpu/drm/amd/pm/inc/hwmgr.h index 1bb379498a121..0e22cba3ce3a6 100644 --- a/drivers/gpu/drm/amd/pm/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/pm/inc/hwmgr.h @@ -828,5 +828,6 @@ int hwmgr_handle_task(struct pp_hwmgr *hwmgr, #define PHM_ENTIRE_REGISTER_MASK 0xFFFFFFFFU +int smu8_init_function_pointers(struct pp_hwmgr *hwmgr); #endif /* _HWMGR_H_ */ diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c index 739e215ec8b7f..ec17a3e63ea02 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c @@ -47,7 +47,6 @@ extern const struct pp_smumgr_func smu10_smu_funcs; extern const struct pp_smumgr_func vega20_smu_funcs; extern int smu7_init_function_pointers(struct pp_hwmgr *hwmgr); -extern int smu8_init_function_pointers(struct pp_hwmgr *hwmgr); extern int vega10_hwmgr_init(struct pp_hwmgr *hwmgr); extern int vega12_hwmgr_init(struct pp_hwmgr *hwmgr); extern int vega20_hwmgr_init(struct pp_hwmgr *hwmgr); -- 2.25.1