From patchwork Wed Jan 13 08:07:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362052 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296963jap; Wed, 13 Jan 2021 00:08:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyLi8sEfa15ULwDxf58LKjOWZdqSxnfLWJ1nmR1tyRQn4TvC2KIbijduhCFhvcsTlcolk/3 X-Received: by 2002:a17:90a:e00f:: with SMTP id u15mr1089872pjy.88.1610525315749; Wed, 13 Jan 2021 00:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525315; cv=none; d=google.com; s=arc-20160816; b=fpvfvFo7PvosIjhJD/yRVR7CSV/7xNQNzLzILhWyAnKjvcub3lj12JuoccPiJckMTt 6heaafT3XQ3kg059KF2xwANklcY1WyoGljOxM/1F5sHN/2OXeOCvyv6WWe4aTTiSNsr0 v1sZJnmJr5NeMLKj+49yZq8BbI6TryPEA2/SSo1tsZtwy9RxPc550dNEBMvVOz41WkvX vUJFwFojMLbcG9vVi3QwDjQLpSYpw/Qop2bItmiQsvgBAk4Ppr0HvqyAl5fafZzErndx Tnf8wTnhJRVZUFE9JhzHRKqdlN1/3iqYblFc4I8BfmoCM/qmqVdsvb/Q6Br+W64AKy4c Fvaw== 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=dzjuDBYbcZVuinCeVlmv8oCRhfPblY3XQ3gFKXI37/M=; b=jF9R8WSJhWTuI7I4FoFTbhdrEibzoaokYzUQs6N+mlmVWM+YJleiETEIQCZM8rGy56 Fkg9GWVvoLaZpm5BY2aRvPHcpH+Sg2Rb5b7gbGjl0FHib6SIP3U518NWxGYHyOzUqT/M fTEwTI3GHpHPUp0mNvutqqQg4ZlsW3pDvrU/U3bZCwMqOkmwQFyzoxvjZ+9sXv0ycP41 9nqtb9tq+kVhFFzpM1NFPw3QLyILDL3yPVm812JlJTQWsQtNEkSvkWjKm3/oTZIr65K3 gQv6JzSBMK39EZGdXQPOUOJ4zEQvJ+UQM9VkUcaxMuxFj/uPZv4rUjXtBC0exe5gJgJQ 8y9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=n6S7Vkl2; 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 u2si1564534pgj.333.2021.01.13.00.08.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:35 -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=n6S7Vkl2; 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 8087A6E082; 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-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4D9016E02A for ; Wed, 13 Jan 2021 08:08:18 +0000 (UTC) Received: by mail-wm1-x32a.google.com with SMTP id h17so507156wmq.1 for ; Wed, 13 Jan 2021 00:08:18 -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=FTigNPeS/IwSagktS00zXkb22HHBlzIFn5zlD1QSHzM=; b=n6S7Vkl2P8d/J1RWp7DDnLNoAWE8q8q/iQ1eFDk78lGCA2jU8tYfFMOj3EK88HD7y+ atlM/WLoghnXazFqOq193WFu8mWtuGXRtoEHJUsKfpHnXnt1uIpqniOk/8FxNdi/5gVo JfuVm9hUCwelRLJgc09OfR0VPt3La+9m3YQy3/jCfh1veevr/12V6HkoeEeBwpTcVj2w L0vtwHCJd4SJmYkD0yS0gyBk8farkblBEZV5T2pZIMRXA5iWwwMgnF9yR1ry3KQs/SnG GPOkYtgIiY1c8073S6k9lSqsftqIE0H4g95wfNzXFcl/JzXsknpPIflktoXVrbY/lVWD 4E0A== 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=FTigNPeS/IwSagktS00zXkb22HHBlzIFn5zlD1QSHzM=; b=AvALhVyYCWSquRUWHDRXM4fc5EofdhItBLiWTT0t2ikyxy54HPAquSmxAEio0nOVuT Mw+5iTlyu0kzNF71fnWw+TyRSaAcYw55F5AE7eZtnpi8FfpCrdlYB8de3pif9jVDQDkO vMy7z1kAfayKUEzqmvxM/EYUCwbj0JY60L7pBn6zh4J1V+rv/9rGty72hVo3/xvyzcv+ 4vFv80FfWfRlSkMH4+6uaZFH4LjUQlQld12UjGmntA94D95TL5CnFEHPnxSbNMp1aSTd YTKqBDyphJhGrcmxbod+NGTHlU9X1OCRL/9eLpK3d6UgWHhmJj9cVDng6zIebJhF28hL afCw== X-Gm-Message-State: AOAM533cX13qP7wAAltzj3cIPsAquITBpZdF4kOeZ/HmEq5HA6AbtEMq tGOPPUW8YfgXXcNHhEfeiBgiPw== X-Received: by 2002:a1c:1bcd:: with SMTP id b196mr959231wmb.70.1610525297006; Wed, 13 Jan 2021 00:08:17 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:16 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/30] drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:39 +0000 Message-Id: <20210113080752.1003793-18-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 , Mauro Rossi , 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/dce60/dce60_resource.c:1115:23: warning: no previous prototype for ‘dce60_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1312:23: warning: no previous prototype for ‘dce61_create_resource_pool’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce60/dce60_resource.c:1505:23: warning: no previous prototype for ‘dce64_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: Mauro Rossi Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c index 64f4a0da146bf..dcfa0a3efa00d 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce60/dce60_resource.c @@ -60,6 +60,8 @@ #include "dce/dce_i2c.h" /* TODO remove this include */ +#include "dce60_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_6_0_d.h" #include "gmc/gmc_6_0_sh_mask.h"