From patchwork Wed Jan 13 08:07:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362058 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp297063jap; Wed, 13 Jan 2021 00:08:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxtbvZQCRNP55lbLL9+XSggoXcRV7o+xlspM60JzpjintdtSN4HNkgZxbLcxO3YMC1Fppmm X-Received: by 2002:a17:90a:e28c:: with SMTP id d12mr1022759pjz.236.1610525323954; Wed, 13 Jan 2021 00:08:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525323; cv=none; d=google.com; s=arc-20160816; b=ZecEwB2/o8RwF501zSfBBCmRSMBT31BjWVAqvkLwzuPZOQfg6OOvsb5gNGVRaxftMq hj74clK+YAfzULUsaJ72YErjwZ1NudJlEpa0KoGBN/S0I3Uw4waid7bqOyXObZqe2FQJ H2XXOCjDknyoGyZj8GBYO581LyRiMuYVmoPsTsorA98ieaTF6Mt2NiQqLxxF6IVVXCzu MO551SUD5TC3Tq2sDlyQow6Jrn6p0YkZWyc35TgoEP3D7o1gUVhba0kvZA7vxizCnkLS H1xtrZTCw0+Ia9Ku5ywjCYC+zz0qGXVQYYgPs/cTZ1aIEs1crEQQ4WAyE64/eZbYsIVX K0WA== 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=JA+1sIMDosGh35g7NeiNhPmb+KbQkHB2J9AS6FrnyUc=; b=XcUu+z6Hmo0dKnbH3wTj76eokWpBb1s9KOt1C0VWZpwu/QQHjNz7rhC8qvDglwKI0z 8VlkGUaS7p8zoxpu32ZTuwbL+JAkC5S+ych3SS7Mu1pjmK2WMvnO4k2YCx2RiYcryzCL F61QLgOLjVgqNVNqAXZ2XhXu/SdLgBpPbSMcj2jKmQ0QmiQwd4fZEFOB0di70rYkRo9F 0TaJ1ieX+kS5N6XHeA2O07rW48dqOXi9ckbC2l97KW8IHIVCjmj/HKM/TI5zwTYT3Ox5 z6zCw4Ifbyz4EbXaD2xhIS7CE43r445jl1txc2KTeXrUcwNXbv+LwQ5+uok3lMHLVbtv iA5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=DOQNpJmT; 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 k9si1413611pfu.284.2021.01.13.00.08.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:43 -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=DOQNpJmT; 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 CD32E6E072; Wed, 13 Jan 2021 08:08:35 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id A36046E07D for ; Wed, 13 Jan 2021 08:08:31 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id 190so697650wmz.0 for ; Wed, 13 Jan 2021 00:08:31 -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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=DOQNpJmTzQJ07PlrsA9wD5Pn2X09SQxxyN3kHtxeodcgzi8Ykmla2cqkI/wVS1JpPJ 3eE1eaH5MSBZsa461g25igPNwnGc6VazrF5jXh1q8WXRpRGRqVApAqCDCEReWQCZNnOW /BMD6FKe6mGOBpYtq0hz71X98yOqwlLCxHtovNy23y2O9VBEPBe1SY8/XF42dW9CGLS3 AaJdGdy5ZL0DvMRo+5C3zru9wtJ4dp5galDImBX/UuzBfBM8E/CECaPgPE6gEgSfAGkt zSrIKYGw90wZYpZhSGt37u/SP/k9g7q4xIcS+0CnDUN/TJZ+RWdVJSBQSQ7qcNV5+N8f fdZQ== 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=jIOPy71PcWZjJKz2Zi3owNXyP9wS0eEBz4BZZ+xLt88=; b=rXEQlC7IDlQtvFW0+0kj1xl+jaAzgao8sMlayxOhgdxulASveHeFxb9roQoLqa8f2H neriBkzy1+0FgpSmCGjogzAKT6hyZLbFuVRaPaFw78xRgoPnX8d6ojVSFsF2Niik1Syb 3RbKTw5EvlHVnCGW4ddk8M7crP81klNHGCSW3Cl/94KVqt0eJZhLZorcfzdoUNSq/6eS cu8a+LfG2ULjH98JKfaMtXq32N2IP30d5nnWEuv3DWGzuX7v8WSmFGDKX58kx7XcZSmo WyjwN/VzH2RFZjlh2neUHwsUX34XcDGA4JFnroSiDFQg9rpstvTgG73ljtpkoeIEO3R4 ixMQ== X-Gm-Message-State: AOAM53389+/QnYfqog6AMr9Z94NLyMfTh82ybzI+kfGY4WyfEeq6dKzR JKemmzCa2qYCSFXl5D0Heylx+A== X-Received: by 2002:a05:600c:4101:: with SMTP id j1mr936107wmi.55.1610525310368; Wed, 13 Jan 2021 00:08:30 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.08.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:29 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 28/30] drm/nouveau/dispnv50/headc57d: Make local function 'headc57d_olut' static Date: Wed, 13 Jan 2021 08:07:50 +0000 Message-Id: <20210113080752.1003793-29-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: 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: 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)