From patchwork Thu Nov 26 13:42:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 333016 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp156371ejs; Thu, 26 Nov 2020 05:44:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2vr/ccY9JXcBqYw7Vhg+bJcgmD0rC/9QWOaBDUIm5fnRY+Dce8SvaUwjScZuCGIdUOuiu X-Received: by 2002:a17:902:b098:b029:da:3e6a:8758 with SMTP id p24-20020a170902b098b02900da3e6a8758mr2823051plr.26.1606398248828; Thu, 26 Nov 2020 05:44:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398248; cv=none; d=google.com; s=arc-20160816; b=iVVO7W+0EasQwj7VV7OLy9KasYi7BTW3urhW88HW4TYYzhkwNqQbhuG52G3UQCnRw9 /x3F1vNxh8QHS17HQGolgrDcXtaLte6QEDqxRxwnNujhIDU3PGMOkiw+8Q+l6oO3Jvjk 2JDAU7dNIdNGDpC/C+ut7FPfELUOQyR6wwpyqB7MgztG5xYc1j8PnRLRTJqoTzu9exXI O7tn4SH+aEB+Juv+/wT3F8QwfTzr8MT12h2MOBINyseRnyzupMch2P95LD6WSTIiy8TX ovzLW6+H61upn4rB1FnTJ9IZU1/n6J56HzHRCbCV/h4CiMt0e7tAim3xh9cxRPyi+ZBb VyPA== 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=rex/N3FUh1/kx1G3IRYSGaN8/+823jVTax/8PIaunbU=; b=zR25M+W5/Ke1CJvKmQzg0qf9FIs05/Cgti5ORPvA9RsZ7E/PI2Lol/S9XaYgrONWfV zlBnMeL0ySC59K3+N2R+6ChVZn+KSRs8K8PKMpnKT/dHUTE9HLNDMHjDIobhJg58z/kA zfrSNqRV+DqG6z0DOgI9ZGci2QxcxnYrllRovvbFCvSVyF80UCTYvHzMKBo3amz5upJl TBwMXmbNloyFp2VsrTP1+cRuarNzuI8usVvuxLxjcyH2q/0FrOeSeOdQ6uwf/b7ndJ/e m9IuEX7N2ffFu7HuZ8T1lv8tYSb8GpolBRYii6TDMdLQmBOOWD5HmBoOwk2eXDpp70X8 6j8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XxZ37GB0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id x29si5346061pgc.501.2020.11.26.05.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:44:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=XxZ37GB0; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 82B256E985; Thu, 26 Nov 2020 13:43:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 10CAC6E99F for ; Thu, 26 Nov 2020 13:43:42 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id p8so2194356wrx.5 for ; Thu, 26 Nov 2020 05:43:41 -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=VB1b8+HX0cMDaWmJBmE+LGhIQvSkQPR66e8ggHq+N+Q=; b=XxZ37GB0KpmVxrU9vwF7H6yWe5kLeflzs8gZYUkJvmzO75EMKFpjikfiFkRATr+PYk xVJsFJ8MlCX7JEFQF5EH+wxZjeAR6AAKMAUe6A4slFX4FgCiHh2yM5zwqB353KB4oqIw X+P/pOW+yAy8nskR5vatXd4YkKtooeYl/csb9hoaemLg2DfJWcDczneVuo4zN74yPihy YHY5rS7Y3S7UxJ3B0lUy5sQuezOiOmNeiqulnV8BrL0UbUNcXRnXgAOPNUM02JooqAMz /LCvBZB7hD1p2fkaY3JKLbaUoBbRbDEC124el020n/q/0Ochw15abcX9sdoU+nZTOqos 6Czw== 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=VB1b8+HX0cMDaWmJBmE+LGhIQvSkQPR66e8ggHq+N+Q=; b=CBtc6D0oC5o/7I2k6lBEU4KrMbrmFCs2XjXJNmnuN3Ur3p7AzqpLU6R1CbbP5Pzw1t g09E7WlmnPIKf98gxhOqYACQnOzCxZefYg/G6+DI6Qg4qa4PAAE83tgcK1W08+aD9aiU 18ASrPVnJhus66JclIM/+00u+dQkXyJAUQToLlZvVqXB8r93fJ/Mr+i+6s8L+fA5ciCj h6duZOD1VzWnnhzX8P+d+2+YEdxfUPXuGNigE1Rfu8/4T6hq2Iiwp/cqDwuDkQjoiUv1 zC01RUP8yrWrS043hIx25tkchx9fCRqBT5cnESlMghq3Xm8cp05GXkY3Vpd1ua1NGtMS YQ5Q== X-Gm-Message-State: AOAM530qZ6M5IdUeYUcBiBy4I7UMyiKGkGYdOzaGl7QJqe2lv7/4GCsC P0UapV5sT1Len5OMPfX4Vn4FXw== X-Received: by 2002:a5d:4408:: with SMTP id z8mr4115578wrq.204.1606398220768; Thu, 26 Nov 2020 05:43:40 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 38/40] drm/amd/display/dc/basics/conversion: Include header containing our prototypes Date: Thu, 26 Nov 2020 13:42:38 +0000 Message-Id: <20201126134240.3214176-39-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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 , 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/basics/conversion.c:34:10: warning: no previous prototype for ‘fixed_point_to_int_frac’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:81:6: warning: no previous prototype for ‘convert_float_matrix’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/basics/conversion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/basics/conversion.c b/drivers/gpu/drm/amd/display/dc/basics/conversion.c index 50b47f11875c9..24ed03d8cda74 100644 --- a/drivers/gpu/drm/amd/display/dc/basics/conversion.c +++ b/drivers/gpu/drm/amd/display/dc/basics/conversion.c @@ -24,6 +24,7 @@ */ #include "dm_services.h" +#include "conversion.h" #define DIVIDER 10000