From patchwork Wed Jan 13 08:07:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362041 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296771jap; Wed, 13 Jan 2021 00:08:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTxdKNXfFtvI4Y/OM+yZeuj3QgurhMXcR4w6a+q8Kve0/odRpADEo5YYi+rP7oVPTM4nA0 X-Received: by 2002:a17:902:b688:b029:dc:240a:2bd7 with SMTP id c8-20020a170902b688b02900dc240a2bd7mr1193410pls.50.1610525298549; Wed, 13 Jan 2021 00:08:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525298; cv=none; d=google.com; s=arc-20160816; b=TOvkaGTXl+s7JXsSO8sc+MDl5LiWOk0refSH/PQMFFXTo6M39xopuIQsaLps1G7LNn f4TIkj90rkmKAZHKeUpEPIId8DwwXJQjwn5GG+eKi87Z6bawzR6zqMJUMbqeyBFR87yu FQwo8Qc2zqgN0h15KiZ1G4B+GcU+CDep1Q4PeM2nXAdyzH71wOVhot7+vEwXQPZ3JJrg cy9gxMbojJOewU4P5Css9uYLfI35OA5W+pJOGw8htYWTqfWMtMywgfNYjTcZ79t6PGOG AK7yNzQH0swmfOIwO1wJxme9j1vKzgesM1ybmCyRQdken0jFuUgDXNKSJGvBnc/VuJzw 9TCg== 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=otLguLIYU2pCI+GxI0hTAX8aC899eyOWB9C+VtImff4=; b=jV/REMDfe7xm+nC/rnN8FALClc8SeUmfPGvYzswJbT6Kig/NNnZR2NyrDWL5CSnMu0 zlzxSgIkeys1wxh0x3doM+Qg5h0kcje4tCNXpBySQKe4A+TNxhbf51fvtoISKmYojqAk 07blJBZ4BrkCUlymSbC0ujDGwDeZCjdZj1bFWXKtU2/kUEUHh/p/R0yH8k5YlNrOszEg OuzB3IEP9fcJ3DIASm0WxQdXVYfi9I5camb8tVxQrNJP1RM0/Ma1TwIqMUJNzT5vcXwr mHTEa4g4LSAQi0TQKNfm4cw1hCZaynq6FrcA6z0ELvvaD7x/RYFu57pbznv5M7DsffIP 8jEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fQ5NcLvV; 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 a19si1613594pjs.4.2021.01.13.00.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:18 -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=fQ5NcLvV; 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 B8DC489F45; Wed, 13 Jan 2021 08:08:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by gabe.freedesktop.org (Postfix) with ESMTPS id B3E4889F8E for ; Wed, 13 Jan 2021 08:08:08 +0000 (UTC) Received: by mail-wr1-x436.google.com with SMTP id d13so1039252wrc.13 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=qaYkK7XRsuFHQxJzxtH3VpeOtq6tbna1PfGqf7+AwK72mLLdQFwE9VJ9hCWbvc1XXg n79wPTuPyemu9bci796JcWzWTtBSbEKQMyo33w6W2p9+bACIwNoQJTEY5Mp0XExepR+f kILAaBpb6SZuCiqFJAEX9Hxyr2UesExswnOpiQTHOMVj0cd1A2SU4R5NyEq1Hyenp2bm mGT7L39JXtGzK3VTNg02ff2ZyJTQ9TCBACKGITOKEG1g3u97fifUO4dOXpLyDDU3PT4y s73RBrv4SiRsuQ0cr43HgH9nhrJwagjNG1EqrU7s3Sa1isT7xH70RNPiivslrQG8v4Xk YiaA== X-Gm-Message-State: AOAM5312BpEHCJIO5gmFfq+mpItRF9ZasJQFKizQoWtTii3uImw5Kpk9 7roiWBO3RuT/nfy5sTK4D3ay5A== 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 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 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/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