From patchwork Fri Mar 19 08:24:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 404767 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1171186jai; Fri, 19 Mar 2021 01:25:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwUiobxJyUzHjQWE3/iEMUe7wNDBoMvhK0qsjqGg85e8KmPu/iFsklDZv0TMYSKYhPcGUy X-Received: by 2002:a65:4588:: with SMTP id o8mr10226740pgq.243.1616142309948; Fri, 19 Mar 2021 01:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616142309; cv=none; d=google.com; s=arc-20160816; b=g/a25i7DnQ6/8onm7QwJ3Ycf6BBf8MpgJHYRAMxPbvTyqOT4zZ1kIBlNHFCId4XNTn K9iNLyaQBqezjJwwpuHeB3iTNWZOQK+VVT4JvKnnj5O8yf2kiQMBp4WjjW2bogfnsK0H 9Gwkwic+dCpwdNNDEdMsrZ4tgJlKsC85SQu//rxCF0icPkOeZiOeinUCCiJXvwPr9FBJ 6fwcgc52uPhBdbIxy2peJrsrpG734oDHjFZEp6NHxHx0OrDOiq56XwogLg/hp3ryiXGO IaUNgt/AKS8hz570cuvGkGddshi0dXVgvl6B0KxJFNvkMruP6kbuUNu253DeUiOwU5K7 9rog== 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=JxcP9XnBib0g97cISBdT82rXvP+dxTe0zd+62pfmnjcCPSZCpwoM8HMSXDkSOMA+RZ T0wuK6+1CiW6sOaYgI+lvD04r0LcLfNU1zEubQwAdWnNUf3Lt+nUodU1sU77qpDxLekn sLtEZD7x6v+xxENwAfn0jxpKCEWZaUwnL2oPCy1g8zxOAeZ56+ssjX116dhBJPSMb91M nutDqdIcjglFyJOXpsy8LuoVQStVQVYP/FKsVVSnrGraqbtvKn99dsL+Z+3hLy99JTS1 DtvUzQn29/P6MRGC5mtCjAoJbGfX9QfNTW7bxzue5HQtILzzn9EUiTKpM4KFVfcEImyb e/8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=OnWV+DYx; 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 ei12si5079817pjb.95.2021.03.19.01.25.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 01:25:09 -0700 (PDT) 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=OnWV+DYx; 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 3C9606E9B8; Fri, 19 Mar 2021 08:24:58 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by gabe.freedesktop.org (Postfix) with ESMTPS id 23CB96E9A2 for ; Fri, 19 Mar 2021 08:24:47 +0000 (UTC) Received: by mail-ej1-x633.google.com with SMTP id l4so8268615ejc.10 for ; Fri, 19 Mar 2021 01:24:47 -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=OnWV+DYxB7TIf0RcdNt2mExHUJuVLp7UESXt8Qb+D65Bvf9Soff5k4j1Aw+lyaG+uK 6pxegFZ5yiJ/sQ015s2er7qRKHqyFTxcQDdNd6KVVNiTWMaHgOqIASU7rsQw1w3Lsq5P uvuhgiTLupa06Vhn73WRiQetqx1HNcZBrV5fJg+aycceyxeb5AjvfTKyTsiT2izx5NRk sCDZZbUaXVIDlH2kp6prNzo3YGzhrOXl1IMx5ZR0N+9BdgW9fEsNMxUB2IAsU1HHaz1G MfrsxU0yzKgM772hKAc1WwgFMvta8vy4xrPRFoYTf9hJfm/Edz8GZeFvd7wH5hrNUb3W 27ng== 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=A1KhqzaWYrHJaJKG57tieVFl9Ee/TYKVc+ExmFGla+nd292FZ9uBu44IF7LHOwG/fX N9fgcdHei+r/TYU1yGuLVesd87GLXp46/R7APuyImKcdn4SlR303V4p/k2LfUjNFNQfK OV5avDkyrxKQE6QeebU/xjwbfBA58dFTsKOpMxgYWPUwV7GJy/w/g+ohWN/IvjqPyPGj 3rJOjLe63LtHW98CWPbxsmkvgBOph5qyqGjHUet2VrEBWEf4NFxesBTCnc1K9GEwvt8D 0NanW4UKbWfQhlMJzF5+hr4dglFN7rdL7nrHOvbyUwmZofhLY7zSqTYQmslAsiVchoF3 L1DA== X-Gm-Message-State: AOAM531daUgG4blkDvq6BPHV7j6Y96mSsqnUucUI3r1gl32sF9An3xfK XOGNiBpRF/JMyIRjoBxuTwHSgQ== X-Received: by 2002:a17:906:7c48:: with SMTP id g8mr3071902ejp.138.1616142285858; Fri, 19 Mar 2021 01:24:45 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id b18sm3273727ejb.77.2021.03.19.01.24.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Mar 2021 01:24:45 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 14/19] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Fri, 19 Mar 2021 08:24:23 +0000 Message-Id: <20210319082428.3294591-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210319082428.3294591-1-lee.jones@linaro.org> References: <20210319082428.3294591-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 Reviewed-by: Lyude Paul --- 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)