Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7515143rwn; Tue, 13 Sep 2022 23:11:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR5pwLeUhPKTzPLHoQosKAsoO4lYBJUBdRkYiXwn+Uu7ZcXnTzdZXwstPD9jj5sgsQxJyFd/ X-Received: by 2002:a17:903:3014:b0:176:e498:2340 with SMTP id o20-20020a170903301400b00176e4982340mr36351958pla.119.1663135886746; Tue, 13 Sep 2022 23:11:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663135886; cv=none; d=google.com; s=arc-20160816; b=ZjXs6ZBnGvRO7HhZAUoDB2ot5uZEyxkDjFBA65/09h8yIxm7KlPBRFPHe95Xv2qL6i HU5XuYTK0vwWf4vWYZX66i4/GWLIBqAFvIgveO4JRH3YSDvVo9ouIorgT/A6O7nwKQmY E/KIsCxlW+Aj6IU//B42e9mq6aoGKr+tGv/puuPqUXPpQ9zi94wxhZyf+MXCyU5xNYFR 9KN6y+mKUaPU+87Z8GcHEN97Drb765VFeUU4iIDu+xPKrcv3H02wleq+nvCPcfgUIqBF XmKMQxJYARzmfpiT4gp23nKKPpAW4eN2YsKMCAmTW52T5ggnwGz8c4SfOjf0Q7B2IETy cGPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=qYUCZTPvHckKTRxDg6XVge4QEx8brdOqiuOby6mH/G0=; b=BjYEOTdF/1+1B0hm8BbhRqbl1DajBsQZA/sCgGjiDLx06F5+TGLAUGj3NY/aHsASFs xP9YETeYoUgkyyLwhzUve9OR/7HFOjTEABycbnJJksqcUiKtlWxg5B1d64gEEtaLJba3 7j9Zk0ijBWcm2KmFrXkKi7UVSjamnlha92ANhfnrBeMdjzo2zzwAETuqPO61yTCxuqdD 3SqkacgexpiAhfl3IKhgvZtNlAAU7Gm93VHt3s3rPQwyvDeQTHqpSgVkw2SMTSvUt4vI PAWSN14V0W2W1wGZC5GGpVIDmEGFlW7hE46wz8YSMkHbJf7PDLL1g+fU5q+k+4RLCltm 9mBQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020a056a001ad400b00545c63d5387si5372798pfv.21.2022.09.13.23.11.13; Tue, 13 Sep 2022 23:11:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbiINF2f (ORCPT + 99 others); Wed, 14 Sep 2022 01:28:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbiINF2e (ORCPT ); Wed, 14 Sep 2022 01:28:34 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73DCE6E2DC for ; Tue, 13 Sep 2022 22:28:14 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VPlkWyO_1663133287; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VPlkWyO_1663133287) by smtp.aliyun-inc.com; Wed, 14 Sep 2022 13:28:10 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 5/8] drm/amd/display: make mmhubbub32_config_mcif_buf static Date: Wed, 14 Sep 2022 13:27:39 +0800 Message-Id: <20220914052742.116297-5-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220914052742.116297-1-jiapeng.chong@linux.alibaba.com> References: <20220914052742.116297-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of dcn32_mmhubbub.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mmhubbub.c:103:6: warning: no previous prototype for ‘mmhubbub32_config_mcif_buf’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2145 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c index adf93cc8359c..41b0baf8e183 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c @@ -100,7 +100,7 @@ static void mmhubbub32_warmup_mcif(struct mcif_wb *mcif_wb, REG_UPDATE(MMHUBBUB_WARMUP_CONTROL_STATUS, MMHUBBUB_WARMUP_EN, false); } -void mmhubbub32_config_mcif_buf(struct mcif_wb *mcif_wb, +static void mmhubbub32_config_mcif_buf(struct mcif_wb *mcif_wb, struct mcif_buf_params *params, unsigned int dest_height) { -- 2.20.1.7.g153144c