From patchwork Fri Apr 16 14:36:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422516 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447686jaf; Fri, 16 Apr 2021 07:38:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySWnpExVvV6WBG+8yz9A1peeVfgEy/ryn8/1vJrnoGl+4RfiyBP3JGc2mp1+yTOAGfi9mK X-Received: by 2002:a17:90a:5217:: with SMTP id v23mr9830898pjh.161.1618583888972; Fri, 16 Apr 2021 07:38:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583888; cv=none; d=google.com; s=arc-20160816; b=tgTQesvD/UEjF9ac6z8Ww/suVEFtzkBNEVqBPjQ6qK1IjkWLb6nn4czk/X3ONXv30c gOKT+L6mmwBZxRt/pULLwUvuN/Z3Hw2phAghQ/MWFNp6uWFylLioRqQzQ34F1GiyfeRf q48kJR2tcd8BPe/W609DBxacu/qWKLPqiOY2iLZjITa3OpJYbiGmgHVrvsy+O2wYT+Kl QMSMUfGyjycg8Tz+JnSfUkI3UTBxto0GGmHXGDSGRbWfsDh1ZoSyzhmOnssZjhq/hHdb O+ri+aGVvayDdX8XRC3B94QyWoFj8J3sAytIj8gaYrq7rd3oGch1IDpX4zCIBi0+Oxpz lU+A== 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=TsUp/0scBd11CGaHJe91dBVrESLjwxUnXmKDZxDfl9E=; b=0D6zCymux9Nz81J16W6r5AlKhXSz3VyI8cyj6qp29szytWJYDdokepDH5KkZ5fhjG8 6vM7EdYlHH6h/3tTid28qrtY97T0F60XrTNn0XawxwgFYTVFmdQfLgUUpZvgaiDMLiq0 WoC4nLamaDpecGGiA9irU9yByMhfvRSyL82WWqPQvr8JIs4Kdh41L2dXwCjqE2kgd30K oSKGrC4L1Am25rMbQ1Q5HjXctjswGg6vYY+4qoebEQNUm9YkiSxN5InWH3I0uhbBhE05 C2pgxj03B96iaOnOahGVYgfK1y91vLAU6w2uQvrZ1emvF1ZWl9JAqlAnXGs9zuuy9Jw1 unyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=q24GGnGR; 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 co3si6595302pjb.43.2021.04.16.07.38.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:08 -0700 (PDT) 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=q24GGnGR; 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 8C82B6EC13; Fri, 16 Apr 2021 14:37:47 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0C8596EC03 for ; Fri, 16 Apr 2021 14:37:44 +0000 (UTC) Received: by mail-ed1-x52b.google.com with SMTP id o20so6272573edc.7 for ; Fri, 16 Apr 2021 07:37:43 -0700 (PDT) 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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=q24GGnGRAdzpbYYl+M7v9f6M5HcbMMdNCA8arW0qs7LIDVQVe0UheCz0W99E9kxnj8 N9FH43w69SituNqVOudZiavc32EsX36KzfUsKqwa1nLTqpCTmE83YCzAJcJZblI57yeZ +2yJUhe+ShtafcRhG+RrBXeAsrhgdbxSN2AwmxE46GXV+mlylZpzRs65X5SFvZGldR3r WAe1mbQraJTDhXL8wK09ukr8acgzxwhxqfItaqvC5EVi9cCEun6BK7WXQp5C6SONaOV1 Feqo9YoxTXppD1tCy/5zJNjgEbL4YKuHwL4rK3TSkhLjruiaMb3YL112oC3OWWYdQ9vZ F5FQ== 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=9yFPCpC+KcvysSHE/TzUxgB6C7mqpr36eNkZECpHJ1c=; b=qNcFQ50fkanLanSz1a3EQo4Zr7bFj3223ENyElshxyw21UQyLimjFeQ/q0vBVrarD7 cznYd9ETqVFYg1sa53mrqjMFfhThIISqXtLMF3c23uXWNVCLfGdM7W/KDBEfnirAoYrw DAlfWgzZxIrsh9uoXpKW7/TuY4kLFD7jWkvRyhF7tlr3ljxZrikmZTkdw72hY/RKMLUD RuYGv8TTseapLY2tPnSJXrjIKZNPZhb5evK0wW9g4ZE5k5q8cvJlnbVQ4Ni7kwAGon5o AJIni83E/cx8J3nvviqFmqFnFx2XZzRCU09lofcYCQJhXzWiFC6XatQGsq26NPPSz1aB C85w== X-Gm-Message-State: AOAM530xfzp7ZXd8FFLbAuwSPCg5VchhTNVSs/F8bs4t+245LruhEDWo C9hOzFIR10iecUMyPLNskxZ8hQ== X-Received: by 2002:a05:6402:3550:: with SMTP id f16mr10260110edd.134.1618583862459; Fri, 16 Apr 2021 07:37:42 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:37:41 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 11/40] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Fri, 16 Apr 2021 15:36:56 +0100 Message-Id: <20210416143725.2769053-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-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: David Airlie , nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Ben Skeggs Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/dispnv50/headc57d.c:173:1: warning: no previous prototype for ‘headc57d_olut’ [-Wmissing-prototypes] Cc: Ben Skeggs Cc: David Airlie Cc: Daniel Vetter Cc: Lyude Paul Cc: dri-devel@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Signed-off-by: Lee Jones Reviewed-by: Karol Herbst --- drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c index fd51527b56b83..bdcfd240d61c8 100644 --- a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c +++ b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c @@ -169,7 +169,7 @@ headc57d_olut_load(struct drm_color_lut *in, int size, void __iomem *mem) writew(readw(mem - 4), mem + 4); } -bool +static bool headc57d_olut(struct nv50_head *head, struct nv50_head_atom *asyh, int size) { if (size != 0 && size != 256 && size != 1024)