Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp174874pxb; Wed, 13 Jan 2021 00:14:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6v/dQId9CHkzH/KpszMU6fj5+H5tFOMWM7bOeDZJo8H6JUdR1F7Tty4MgpwDYJCpv5nEY X-Received: by 2002:a17:906:52c1:: with SMTP id w1mr746712ejn.214.1610525697112; Wed, 13 Jan 2021 00:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525697; cv=none; d=google.com; s=arc-20160816; b=h0ABXWJMDnzX4e6vUIj4RDZxhovyxfJ6DjVfk3apg7m8ddQRt52cupfxAHEtIseQQr VVp2ycqxBkQh0575Sros6gjpIx98UzsjhbwjkeWXzlgj8qxbrHCCGbnr/e/wi5bVJ1si 7y5+2pgZkkNAYSfWi528p7txcg06DPgNQ0dHVxuJwWaTBsMeCwFM/c+JmRkwjduqD7SD yQGmFs8JEyBSScXHbNJLSgmz55QzKg1/acs+FnHBIat6Si4qHKdeppGiXKcRT0tazi+c 16VSqSEWnj2Z+1AAQ74nb+Hx17LQSwgaAGqhjAYfmboI3bd4k2iMevjPxOU/WFeGT6aF iVKg== 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=2j2xvlvTKeMvAjdQ03/GzFSNxUFT495xm2EMvSlOnPM=; b=TUc3bsXyCuZzElAgnUA7J2WwB1NLG4lZUdkADIUbMWsIwrYwkMPrjyXJzQDEH9v7Jd VTHG00Gr2q96CcPqIBbmLhU7TviskAph3OGWhsf+4VJj9zUdrD/1C55y+8bGfoFGvzeu LkTi4/mkydB6sUMh+4cI3f/eI9f739x22o5FljG4BwH0BFhHDcQNz6TuQIEl0TTsMq59 TRgSeQydRA2wqdXeXWWWhFZ9f8kIh/qqCQiJu1tzdI/8ZLbVWMn406444spNYFWIxZQW omsNd3Leu6L7EXWLNUM976LXj01f393aRWn1sTZnWhgBtRNgN3f75K8eAMmMOXcyCp/N tTsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fQ5NcLvV; 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 x17si716175edq.181.2021.01.13.00.14.33; Wed, 13 Jan 2021 00:14:57 -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=fQ5NcLvV; 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 S1727332AbhAMILa (ORCPT + 99 others); Wed, 13 Jan 2021 03:11:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbhAMIJT (ORCPT ); Wed, 13 Jan 2021 03:09:19 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1659C0617A7 for ; Wed, 13 Jan 2021 00:08:08 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id c5so1066450wrp.6 for ; Wed, 13 Jan 2021 00:08:08 -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=2j2xvlvTKeMvAjdQ03/GzFSNxUFT495xm2EMvSlOnPM=; b=fQ5NcLvVmka8WVFVF8DEXHGDlkPDS55e/BwTL1KBk+7FfqF86JcS8D68hU+6tmFN1n Gsg9PcDpf7B3zPVrHJ7PVzXs6hq3ruq7R4is9h7lIyQSKqWfBHWm1sVX6EGp3842webt ZYyEKUVsd/NOnCsePUQOE6aD5Z9dW2fgHnDK5Nt0q+navMgiIvEF3UWIFnYrFo0jPINu qbxP5oOJiTc620W0S2DxUiF7zeCfYNC2M8+8b6qlpWz+Cxtqr1O9N4jrV6Z9p96uF5u0 YJEWADvfeJ81IfirIzAKTthEivnS04jr68iT2p1Mw5TpoTV2uMiE6b/xPghq/BdJGWQ8 u1AA== 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=2j2xvlvTKeMvAjdQ03/GzFSNxUFT495xm2EMvSlOnPM=; b=cRzIzhCI6nMH+EE03rSVf63DBMMZzDu542QZh+NYtI8RijskXLjVh1NXT9fdkC4jzA rdcitLDcYlvkF6/lKDG1aDOBQiEkYywHEye2LRjm8J3bP7Odn5wKKx41LdQZ3j+B+R6T 98FcPpPexampGLNKV8wnND003oBZo4Hq/A41jXLeQg9TBZWbc77/r9rTtEGONxC9oCzp K3ugTPqdSNStgKSWjW/U2yg9NT0075koZf5kplqX+iIYUT2Dl/Y3Hn02RkwN1Z+dmYcp bhXhZhfE+2cWAhIoHkhWliZ8sEhpk4Z913Y09zHUDIR12AVdnarui2laxWvYBv1oRfkk Aofw== X-Gm-Message-State: AOAM531EFJULTL5NZPsIRsbyC0qCbdQRsaPf0VMeM7P2RsJxwzY60j4J g0xkw/4ICYbYZmxq9YOaLa20Gw== X-Received: by 2002:adf:a441:: with SMTP id e1mr1151919wra.385.1610525287440; Wed, 13 Jan 2021 00:08:07 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:06 -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 09/30] drm/amd/display/dc/dce112/dce112_resource: Include our own header file containing prototypes Date: Wed, 13 Jan 2021 08:07:31 +0000 Message-Id: <20210113080752.1003793-10-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): drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:883:6: warning: no previous prototype for ‘dce112_validate_bandwidth’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1008:16: warning: no previous prototype for ‘dce112_add_stream_to_ctx’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce112/dce112_resource.c:1407:23: warning: no previous prototype for ‘dce112_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/dce112/dce112_resource.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c index c68e576a21990..ee55cda854bf4 100644 --- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c @@ -59,7 +59,9 @@ #include "dce/dce_11_2_sh_mask.h" #include "dce100/dce100_resource.h" -#define DC_LOGGER \ +#include "dce112_resource.h" + +#define DC_LOGGER \ dc->ctx->logger #ifndef mmDP_DPHY_INTERNAL_CTRL -- 2.25.1