From patchwork Wed Jan 13 08:07:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362051 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296936jap; Wed, 13 Jan 2021 00:08:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjZeNqAaeTUy6yjSSKVLcCKOdR4ZfyXosB9uqcjhR73bKeO/mDb5kuHYT2e7DZ47SIHy8C X-Received: by 2002:a17:90b:11cd:: with SMTP id gv13mr859701pjb.21.1610525314119; Wed, 13 Jan 2021 00:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525314; cv=none; d=google.com; s=arc-20160816; b=SimKN4MekIXtl2HhgUsDEQZXCzt+bsgfak+1DVOt5ZjCF+P75kWy2nVFtuumsSKl5D jVNbs3pCBnl3xuA9plMOCpSOYi1LMepl3d3GJU8/benexvquOBrAC5pHa9K8TWK6qJh3 mSoZUL110yI6g0XeiMMP8Gm+lBl803nRRLa65K9Jvis34y7kbGWyaapAeQuIHLcy8RGc a+y6pBUcWVL9GKTt862D/LGJJWS9V/K0vQiIoh/jkqIDU2ksU9/iHjILMvg8SIbxCnhv z1ftoZ+zIKy6GD3lPVBIHfGLeMHAdVhC+HNp2KGr3k1ez2C2Wlnae7H7ws/rTPJ8HpE6 rJ2A== 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=Xe5TGz9aTfWMrpVgmMmIDjwA26QlFNFeU4UFcvPss6A=; b=J+w8CndKZ6LLypQpW2f9mNMicVJI7qvOFhX0DwioPD1XCSc/3b0+afUmr0gG3zZqQD wuTfTb5mMeBFzKLrWw+RL14hngboJugtdgZACf1nKKN1STWG0TLE/7maR2esdw5PptaX +rEEBRFpCPWrLrBGf8ubgfEM3mV1XZ5Oj9cv6xmSAW6n+JnXkMXkdkGrGBLsN9LWG9vB 6GZR3SQpfYwFpllWC7HnpDoTZlEoA2RvWh8WZs/NwAV2nwXBKP/hrzG/G7SCRasK+KEO hY5LUPg3e6wx6QnCmYsuxN9RT/53vOYyXtk+H5azbRitdeFaWQQL4Cv/R1WMml6xI1yC 3SVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=J4u9O4Qq; 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 r30si1554043pgb.230.2021.01.13.00.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:34 -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=J4u9O4Qq; 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 40C5B6E02A; Wed, 13 Jan 2021 08:08:23 +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 2DA006E02A for ; Wed, 13 Jan 2021 08:08:16 +0000 (UTC) Received: by mail-wm1-x32c.google.com with SMTP id c124so682044wma.5 for ; Wed, 13 Jan 2021 00:08:16 -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=YtdAaEqJ+OgUUPAXBPbeBnhYUUGO94r1mRrUVzyKNqw=; b=J4u9O4QqJw9NZ0jVvvAMdTcHDKR5DdnXk3Ob0X7W0XjXytVoKhQFQmf5V177HDeaw6 DqwzEq0kkEhGD+eaLkMORoIjCqrj+FznQMQ1+ocLIg7w8IIdKP+L2AgJH7jnt2HMLAEY AfvdBRThpE1B+QBu7eOFPYevp1TjEjyey0WgZD3O7XSAOZzsXHK+oJNH4GcVoa7ujph3 vET4kj0k272eJplJyWKqGojwAmFg/YuM4prRhb7l2cKjj8dDHFw6wqM/okNdk2Ftv/FL WePS7sAZPVPTArf/yf2wYdKCqzTeB+MyjCuzBqmZnZBDbQ3QMr5vJrvDieTyNRVTXn2d RQ9w== 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=YtdAaEqJ+OgUUPAXBPbeBnhYUUGO94r1mRrUVzyKNqw=; b=YQnrWfeyK4awjdwku5JNRnGRJHnpYmQlZulQ6onounwHzi556xwcJ3JbJuUlVWI8En TUz4ZDn8H8MejSviBk9/w8O+Hj/81z0DvjTbutGih71kK4b/WvlrfHgf7asedFun1lNM 1vlEUQCMjSxt8FOiSCQHHJ0LHfudk+95N/sbYgw1JiBBB6GVRXTxFxKroZgSzvNwcAof TjnA8v4EKhZhhFn7oDxR7HIW05bRRp30ZpMDp2MdRFIscr0Mf6OfuF8xJTsTq1GVTBOW 9pcEZbcqA7JNR87KyA1LY4M1aT1NB1DTA/H7voEONwzTNf/MrENj3VMHfPvkbhCRtmsV KHwg== X-Gm-Message-State: AOAM531B9uN1ltnRX7GIZu/yFpj9ITiZb/jLRGQN4wacQVwjJpW8o8R9 YootJ/RC6FaUPVboOT9Gkwd+Ww== X-Received: by 2002:a05:600c:4101:: with SMTP id j1mr935004wmi.55.1610525294937; Wed, 13 Jan 2021 00:08:14 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:14 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 15/30] drm/amd/display/dc/dce80/dce80_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:37 +0000 Message-Id: <20210113080752.1003793-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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: Leo Li , Anthony Koo , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?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/../display/dc/dce80/dce80_resource.c:1126:23: warning: no previous prototype for ‘dce80_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1325:23: warning: no previous prototype for ‘dce81_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce80/dce80_resource.c:1520:23: warning: no previous prototype for ‘dce83_create_resource_pool’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Anthony Koo Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c index fe5d716084363..725d92e40cd30 100644 --- a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c @@ -60,6 +60,8 @@ #include "dce/dce_i2c.h" /* TODO remove this include */ +#include "dce80_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_7_1_d.h" #include "gmc/gmc_7_1_sh_mask.h"