From patchwork Wed Jan 13 08:07:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362038 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296713jap; Wed, 13 Jan 2021 00:08:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwo+Iiu+LfDtD5qlg3C23fyPCLYfF1E2GMESjJlvoqg5Mdi97jNVVfLX3CfAPkXh6jiE+m8 X-Received: by 2002:a62:bd05:0:b029:1ab:6d2:5edf with SMTP id a5-20020a62bd050000b02901ab06d25edfmr1064199pff.32.1610525292368; Wed, 13 Jan 2021 00:08:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525292; cv=none; d=google.com; s=arc-20160816; b=kZhd/DF3dyO1DCEDN37DJq6MJjrq90mRwLdq6brARK6p1Y6M25zu/lBS47rLoHhSn3 gzgR1TSAYqeNqGrAn5plg++X54l0c8NUUWoie3m1FFZ+Nfu7k8OTdMYmQ8pfE76VGyId P5Aafvbqv1zKkK2A9ETm4FV3KmRGhIbub30gOEaO//lrx8WYFWD5vX1ygKMYCvlNSrKo peHECjdJjyKVnNR7OGC5G3WwdytiRXAHAFly0wEs4UdPC+ugKQt39xNVLdH5br7ntEdJ TnR1qMuV0whBMt8xYYLxsb0aR3y1ybZkf4FWOqqlupjFkJ1XL/mvPdgC2wF7+9nvj1yV 597Q== 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=t9kpoR9vEjRCuLY+8Upiaz9SA162kgcfaIUcJG47NTg=; b=yof/MEGCC6u8Pc6PMexOkTUwaW4AkJbLq09bY/cz7jLqnLKn8lQeBYSHiZdyYMh8J0 qDPYi9X70Xp29186rF8L5ofqkKfgjFC+Cglfv7gyugv94FpSPaB7GicDbm32WQAJU0TQ FrpkN3l8pKvr/TzrcbVb2hKc0jMVBSKR8vAj4Z6dzNUjUskke7eL3ffOB76xF6VEpK4V 0+eVNb/067UP/HSlBqjTdEKE5u/rzanwkub2S9wc1EFaIfwEX+TFD+YforKXvonmImyD YAmDRDDwUZzur/mNCbOOf6ZEnhMDzi7eG8KtbBOcQzgYShbgIQm+vqUAQAz651YAEWqC VNPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=WsQms4zJ; 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 c14si1531044pfd.13.2021.01.13.00.08.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:12 -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=WsQms4zJ; 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 BE56F89F6F; Wed, 13 Jan 2021 08:08:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 897F289F2E for ; Wed, 13 Jan 2021 08:08:02 +0000 (UTC) Received: by mail-wm1-x32b.google.com with SMTP id c124so681443wma.5 for ; Wed, 13 Jan 2021 00:08:02 -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=YaJ+xpBDvvYC3lW5kV2UczyJUDW/j4U+lHIq9z+JvDw=; b=WsQms4zJiYtT5LVKrCDvJqTzyauR1L7ZrV/ErDeTxtpEOnQQJzux+BCYQydoZtAyo0 EPxFeb095dvlkwDkYDE+e60fyWPr+ZnRC2hcA18fuSphilINabII+6TeyMwbwOaOiKfw OC/UxR/UuA7wsll84KPXCHnkzQP08OFr9F63whp9Rp5wAJsdytx4qsc8Ni8DmlLarXxR D5uVCKUaa0MHoo3TVb+28cdBVCnJcJi4RNixwFuvmuKR2hu8JuDCAp8E2MNZJfjLlv5t I34lrVKBpNGDaX9HZFr9LoLI+yLNoiMmSbPAIWwe6PAQRCnK7OFFkIvT37B5tFz8CsXl axIw== 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=YaJ+xpBDvvYC3lW5kV2UczyJUDW/j4U+lHIq9z+JvDw=; b=r2wktL5ZBsuC6ApNuNE+jDja/PN83FbYP0kJ6+Yl8Tx/wcC7K0cNsWkqw6eaE3T+k4 xArwRpYzzv2MyKQG+xXjFMPT1uoVsDnNBBO5vzpr/JSVP8PyVwOXr4rE9qlPeY22myyi EbK/X5VqmpuaBDG+3nG3/JoK7E+lfZK8mR0TEgDtlp+zeoHJjUnUaFxjW6npOfCnXIhq xwYgNVQlyOBfuj3h5LXZPzoB2RK723MPLgMR5E8iIlZr4JPllsdnaDFcnnW/0ioICLFW nTvaeqrGnXEEPuw3wvRtEICCF08l+AbsxTqu3eLwi3JC7fBL4DfOrpgcLRaORCztwqzu x+Ow== X-Gm-Message-State: AOAM530yQeOV8iETtALeQjjlWhSa2E/Bj7RmonH3g/AcSnt8G88KDBms DWmIItf6m4N4cf5ojZPjNiXfhQ== X-Received: by 2002:a7b:cc87:: with SMTP id p7mr991968wma.112.1610525281314; Wed, 13 Jan 2021 00:08:01 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:00 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 04/30] drm/amd/display/modules/power/power_helpers: Staticify local functions Date: Wed, 13 Jan 2021 08:07:26 +0000 Message-Id: <20210113080752.1003793-5-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 , Rodrigo Siqueira , 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/modules/power/power_helpers.c:281:6: warning: no previous prototype for ‘fill_iram_v_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:455:6: warning: no previous prototype for ‘fill_iram_v_2_2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/modules/power/power_helpers.c:601:6: warning: no previous prototype for ‘fill_iram_v_2_3’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c index 4fd8bce95d843..3d4c66933f518 100644 --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c @@ -278,7 +278,7 @@ static void fill_backlight_transform_table_v_2_2(struct dmcu_iram_parameters par } } -void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params) +static void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params) { unsigned int set = params.set; @@ -452,7 +452,7 @@ void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters params, ram_table); } -void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params) +static void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params) { unsigned int set = params.set; @@ -598,7 +598,7 @@ void fill_iram_v_2_2(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parame params, ram_table, true); } -void fill_iram_v_2_3(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params, bool big_endian) +static void fill_iram_v_2_3(struct iram_table_v_2_2 *ram_table, struct dmcu_iram_parameters params, bool big_endian) { unsigned int i, j; unsigned int set = params.set;