Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp173128pxb; Wed, 13 Jan 2021 00:11:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJycTPpdI4Xx99Xdg7bBNgB1SKU9Nfi19aZ6W96ug6M70JSz1HVaGZlKPo1Q2Lc+x2EMIg2u X-Received: by 2002:a17:906:eb8d:: with SMTP id mh13mr677800ejb.299.1610525476286; Wed, 13 Jan 2021 00:11:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525476; cv=none; d=google.com; s=arc-20160816; b=vZbbR9yRPBp1rqVNVgxuh4DYI5+JtH+sn0LF8eQZ29VYg2lI8LVEpoB5kl4Ux9y6Lv UhjpqasHcMbRyZ/Bz1xfdvGH9dFS72ntUNGhGR6Aew+i2ydgqc4DGvIS84pS4uNF5lpI qSBNJkCBMcfbbY2Lfm2vB1l0HSo1cmDcvdWQT9xf47WtVlCJq3QfiwjadvnkvL5qdpkp ozyHACpmn4i1IdH2Xki9Sg8dmYJaIHcnnlycH/wh73V/BmSbq9f+cgDWEqYPVjJ/l1UN NTsjFPPHDs0uHSaCjtYHgIveRTxw7MrPibeDM5BRxHZm0dTuplo3chTyA9REHQ6d8GRw tCLg== 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=ByKcZ/QO4rFJCc5FU+7eSJHbQTpm5hWIxSF+UVUytQ8=; b=uHrXb/8hU7rO3nBKQ/wPj2VgP41fVXriLq1nYS6tKUIvQIem9g19u9zn81vnDfxlIY KiRWyIRKLbjtRJibE3YghLodz0WX+YuIuh+EdJQUlb/181k1rHXiGVvU4R2kohY8+I5B Ng6d+JI1+wipXQJZxBGOcOTM7I1/h8MBzrMHDUzRNeZf0bblIZi0eBqplmC7A7Yym2nT sl5fNvfG5gulOxrNWaOjJzZQnAfH/kcvGMyhJoBCReFj6IZegmMWPOYt4EAgLvk9eDvi fZ4VOw5Ob4RKT351Ct2gcQpTXirPngWoogBv0/s14fYR0LmkKLV/xtv73tFEcJgA9bMC EonA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NAq8a9+7; 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 d21si642781eds.481.2021.01.13.00.10.52; Wed, 13 Jan 2021 00:11:16 -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=NAq8a9+7; 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 S1726923AbhAMIJY (ORCPT + 99 others); Wed, 13 Jan 2021 03:09:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726881AbhAMIJW (ORCPT ); Wed, 13 Jan 2021 03:09:22 -0500 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7564FC0617B0 for ; Wed, 13 Jan 2021 00:08:12 -0800 (PST) Received: by mail-wm1-x333.google.com with SMTP id g10so714156wmh.2 for ; Wed, 13 Jan 2021 00:08:12 -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=ByKcZ/QO4rFJCc5FU+7eSJHbQTpm5hWIxSF+UVUytQ8=; b=NAq8a9+7iN3iO3+wGaICi9lECx6GuUsRdw34OqLPJd3ZnN4FlYdrKOqwub8Fk6eMfh 5Bilb12AFMTIT63HXIBA5+LWSgS7rO3RyBoAY3n95Hlk3xVW0JgnsHHsVlj2mMd6PZFj LWY9sx4YPT9Qp+J9Yw6KW5C4y7Y/amKNrO0DbOBA8TI4JPuT8DOnjpeYTsqac0Kl1uln ATiwk9dlj8bfyv6wJayo/nqxgUtP6p5On60pWJQN4v5ZO/xC8g6ekPxEM5cSCyzE1IOe fUpAFplHTp2bmIC4n/oV9/ggXw96rpMlD57erX667d2A2c5jRo5GwBM1r1F9xccT2vUn BrYg== 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=ByKcZ/QO4rFJCc5FU+7eSJHbQTpm5hWIxSF+UVUytQ8=; b=QIS3UvUCYu8VexNyAZb7eaF2ywHBmS5x2crT20o+N2o3gfT01DthJSQvDBB4ejK73g mG2dNorQ4mPvgWAb/OP/ewsjvFEOYpJAUxINiuPkvfAm4eWu+mUoinkImaJttzax2Ic9 TqdHyHX40L5tM02Sm8+MQkJgx6az8rCgmeB5SW3kG1aLBrd9Irqz6jRO5Y3sxVYDCyXZ Bc61YV8JCAhsAhLJVptbLFdFyP2WECgqXNebrJPN0l1XPkpAfx8OgcP/J3xzFodGt76R AC/VS7LcpEtzUT8YVfdhnbtAPveW6kyV60dMJZf25RyvTfaykXP1rSdfobU2B8G8/rcp DHNQ== X-Gm-Message-State: AOAM533NC2V1lEUVhOxA4Vjyrcvnucd4E0TkjKq40QUpIENBpZSWEFgr CrDucdsqTFNCiIhHYZQK1KsTmw== X-Received: by 2002:a7b:c389:: with SMTP id s9mr909483wmj.159.1610525291245; Wed, 13 Jan 2021 00:08:11 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:10 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Anthony Koo , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 12/30] drm/amd/display/dc/dce100/dce100_resource: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:34 +0000 Message-Id: <20210113080752.1003793-13-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 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): In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:54: drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:537:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:542:3: note: in expansion of macro ‘MI_DCE8_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:547:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:551:2: note: in expansion of macro ‘DCE10_AUX_MASK_SH_LIST’ drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:889:16: warning: no previous prototype for ‘dce100_add_stream_to_ctx’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:916:16: warning: no previous prototype for ‘dce100_validate_plane’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:925:24: warning: no previous prototype for ‘dce100_find_first_free_match_stream_enc_for_link’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce100/dce100_resource.c:1156:23: warning: no previous prototype for ‘dce100_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/dce100/dce100_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c index 648169086bcf8..635ef0e7c7826 100644 --- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c @@ -58,6 +58,8 @@ #include "dce/dce_abm.h" #include "dce/dce_i2c.h" +#include "dce100_resource.h" + #ifndef mmMC_HUB_RDREQ_DMIF_LIMIT #include "gmc/gmc_8_2_d.h" #include "gmc/gmc_8_2_sh_mask.h" -- 2.25.1