From patchwork Thu Nov 26 13:42:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332990 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp155909ejs; Thu, 26 Nov 2020 05:43:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJwD2CJEdSpjk2RzvbYMNwjFNlQ0zR0S0IoiHenZRsX74qGoc+mcpP3Ikz4ocR2VzLdQ+/3g X-Received: by 2002:a17:902:7612:b029:d6:ee36:4e42 with SMTP id k18-20020a1709027612b02900d6ee364e42mr2928275pll.38.1606398209791; Thu, 26 Nov 2020 05:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398209; cv=none; d=google.com; s=arc-20160816; b=zbm4732OX8T3WN+CORuRWjt94hpDMoyIr38/zbKy4s7i1cuIWiEr8odSDLAdgCkaJ3 wlPxO4GUH4LuHscIkc+x/YkSnfEp1eR26UDFdG9APv0s7P+p1QFM9Qcu5y9x5hFGR1TJ cSrtKJ3ZPPFa9EY6P2XLK4rI9KZ9qAbYUlMwFSPlcMx9ujL6aK6nc2GjYBB+tXcNXFU0 MH6qUgLdiMvqT8HT/luYp3GIPtCHSia76XWWOOyd+tjfUjKYHF5fyuX/M/InwOnVpEbU COANlJ3Hb36hBm6Q/1AgBJk9KqfLYrH71hIKQHW7eUbodIz6qhjg1tzbDtdG8/Ssk0iZ lhPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=TkRzix0GAPFmC4as8V7hJw+htO9CAM+geeS+DOB2rqg=; b=cmXhrDES0VfYsti4uSKZir+vXt3Y1ANIw6fTo/3hIBzSh4bU+YFI13lVBsKFbN+tDJ DHx8uNpCsVAVSvbFJ3l+POsv2xPozdE8RkEoLYdtpvFBvdd65TPEgPqcu7ZWvbzsR6ui qwFoGp9pKL5sLPi3PByRvkF5rNzOVh58wb0Li1uoDYPmhk7F7/i7mNk7nJoIxVwQMUfg 7kyuxWGScfBKqLmAeYrhnF+RlfwPHpPZ3rTT6YureSVOOCeWK3SbGpISz2KXtTjlrWz6 jNA6d3cILRQnBsdNio4xNoBp74CCrr+48fUI914sQLRQhXZuowE7p3XMLMx9fR6LSblW I9Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fqPPgyNW; 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 w135si5267691pfc.183.2020.11.26.05.43.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:29 -0800 (PST) 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=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fqPPgyNW; 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 7FFA96E962; Thu, 26 Nov 2020 13:43:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id BD1B36E957 for ; Thu, 26 Nov 2020 13:43:03 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id a186so2199184wme.1 for ; Thu, 26 Nov 2020 05:43:03 -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=psG2Tmr2caFwwt8EtougfdyYRSNjK3aJV9W1b7InTbVD/CLrFBozT8eAN7yyVmKrWN cMV7WgM0URHDWgd2dmoy3fNcIuW14JXYeYafTGpoy18ZO/JMXAIOMx5Z3AaH3PUWptCt Y9WlRCexU9O9MyEUvgZoX/kdpMqISID2QGLV931smrL8fBpMMPCnSYRRlGFUMwGAu8ch rkVEhaPGm9o2f7q53l2usbCan77xZouoTgp2Rno63Pk4dXNpgkzgNav6522nS/HliYSh /CuqVJlms3UNAIQBjN49xh4PsCg3ZfJ+cBLA0HSIQEijIsenyiBXyNRKbvV7sI+E/o7T zOfw== X-Gm-Message-State: AOAM532ApYgfla8/Yx5ZsRpDpRm6tBBEecC3q7ENdqlgDSkrpKYx7WAn KaCOJMtyZzt5nACJszzT2Y0nOw== 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 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 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): 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);