Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1125891rwi; Wed, 19 Oct 2022 07:03:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5UtazlGEStNmDbJp7oA4UMkEvo5yFtVjIE6Xjkfb9EImnblBDFHrdMaouHZxMy1LXKx4E+ X-Received: by 2002:a17:907:320c:b0:741:1e55:7a69 with SMTP id xg12-20020a170907320c00b007411e557a69mr7178262ejb.740.1666188220654; Wed, 19 Oct 2022 07:03:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666188220; cv=pass; d=google.com; s=arc-20160816; b=u/6gO0h9kf0vk4fL1QV8V9jh2THzadrB6AdPkdnS3ZmMsP9g7DXLAoMhI6sh4Lp3mf AzX7WuTQITDnz5UXZ9obP9NeIW/Gmzcd+bbxhlLzzAkWasZeg4fSGP8FwfHEb5ea0zkV ThBg9mCJnWZgUl2WN3bkOUqRI+2NJPBZX1lhBfaju7ATwi49Pg5zT7qM97t1kyRz9cs/ L5OY7m/BNdeOjkhXrZYAJdScQ9nSquP+EXFiy/CVw4qgwqEhmp/JvUZFtDXbgiddI62C l23Y+BvcmEVpaqPkc1GcvfPhh0lTHApps9EZ/B7TUxQvQY7G51RSqGYcYVpXKdAMSWqx lOig== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature; bh=OoqTYRPcgXkgJgHefT+YMxUJ7bzZxO8lnRSa8eDWmWo=; b=aG9Tr/nf2wVy1T3hlRjlod133rVgepOxr6IKgGFYKJ77aJE1ixItaqObKQU6YAPCqp jCRqNcvuczoXe0vG+ZmGUw/hRfQsZ4rHORSkSDTWo/nn2XhafcjwW/4I+yfZqLJL0hby zxNJIEOaFQvvc2MmisyvNXw8WTBrEb+sEYV5GfvaImxrFmYXkPdYE5aakBTpDT6Vp3p2 ZBPyug3Bj1s8oHB4t/BNcv+RvqYcpqp3dy7pj0w9T9oRREc/bg/QUKa4L3Ka5nRckrwp Vo5BlKjqMcWs7jKYAJpKmWkXUq3B3wr42B6MT6fGEfuewoYYDNVy2nzFf9cNzJdpSTGG ftHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=H7RrFKWF; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e16-20020a17090658d000b007826de24087si14461214ejs.228.2022.10.19.07.03.04; Wed, 19 Oct 2022 07:03:40 -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; dkim=pass header.i=@amd.com header.s=selector1 header.b=H7RrFKWF; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbiJSNlb (ORCPT + 99 others); Wed, 19 Oct 2022 09:41:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232754AbiJSNlK (ORCPT ); Wed, 19 Oct 2022 09:41:10 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2049.outbound.protection.outlook.com [40.107.92.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 033D0286F7 for ; Wed, 19 Oct 2022 06:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QYc24oQXy1bs3McN9gLW43xM8HYaz5PX6HRC5HUEm/rHX3YH7xtN4aCTyhPXESH4OwROSHh4PncfEE6TWoMuS2io9YPwTRbpL3IoKIBOxeZtCsLErUzxODJRRL7XaZISUR69dBVOJ7WJNDFYX1YXw9rGYxuxs1rMJZNxTQkcvdoQ2DNY48pOhfZqCBbpO1Td43AW3V/MZdQzxOWtW95GVZIYg3WTrPuhHM9Nr1GZwNKpnVt1f7ctHq+njWHx/jmlxbI8QhzJXSyEJz1eJSP9ZrQlbPqrk2nGmBl0ZEMl/UUrFk6/UxKSAGwK7eNenFX1J9INJ6vzBFfCUCivPxIxsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OoqTYRPcgXkgJgHefT+YMxUJ7bzZxO8lnRSa8eDWmWo=; b=HAT8QtPB5S0UmtUxOkNljpN4Z6qISPhFUy9IG2vsY8GDLiqTJYJgPCWLf/chTOl0MdW/j9OeMc0wQMR9jSemSC5fW9vTRe1uIvGtMlYdwRtPZ8W/Xw+0qO31s0dam7PuDbHZH6egHIvrpmk1x0dNrQSHYi6WNvdkZfrZcWXyR68kVwrh8oP//xurvb9mniMuQvrefhYgR8bhJ9dkm4aBka26q0Q7MZbAWBna6DWHx+fST/4tT4sVJPG0I1+e4TrZKiKpmoP1omkWjOOzPyrwCWIGDhnGz+cKNNXVHfiDLJj6i6CDW4a8qdkSa6DSh63OUHDn84+z0LWmBUQ6mLB9/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OoqTYRPcgXkgJgHefT+YMxUJ7bzZxO8lnRSa8eDWmWo=; b=H7RrFKWFYTh3vQaMwaCH/XFhMaavg5XIanEikOFJgxYaX6Mga+g63VwKyaEIKGNCDYzYNI3XbfkrrlxyS047mcljZKF8ZBLBcL9ZRz7IyXYNPf9d2N6aLamiv31RJxr0+Vqm+aWbyyaNEpGkM59YwVGhn2PULr4vrp5Da+nDIfs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) by IA1PR12MB6140.namprd12.prod.outlook.com (2603:10b6:208:3e8::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Wed, 19 Oct 2022 13:27:22 +0000 Received: from CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::aef3:6aae:b904:e395]) by CO6PR12MB5427.namprd12.prod.outlook.com ([fe80::aef3:6aae:b904:e395%7]) with mapi id 15.20.5723.034; Wed, 19 Oct 2022 13:27:22 +0000 Message-ID: Date: Wed, 19 Oct 2022 09:27:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH -next] drm/amd/display: make dcn32_mmhubbub_funcs static Content-Language: en-US To: ruanjinjie , sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@gmail.com, daniel@ffwll.ch, jiapeng.chong@linux.alibaba.com, aurabindo.pillai@amd.com, isabbasso@riseup.net, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20221019063115.3757510-1-ruanjinjie@huawei.com> From: Harry Wentland In-Reply-To: <20221019063115.3757510-1-ruanjinjie@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: YT3PR01CA0022.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:86::26) To CO6PR12MB5427.namprd12.prod.outlook.com (2603:10b6:5:358::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO6PR12MB5427:EE_|IA1PR12MB6140:EE_ X-MS-Office365-Filtering-Correlation-Id: 63d85d61-7fdf-4efc-6cbe-08dab1d5a704 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NWKyTqA6d5dhj5Lu2dDMWIBuT30caJ+sibmybFT4rEAZxeahWJ0Vjbhu3kDYkY1AplS1L77Wt3zczK6sftdpjfk0altiQOQgxVrxwz/+RsqucP/lCy/N8Z5gVubyT66wn44tUDH7gRNQpVx1lIBnYarFHKKGPKVL9mlzdh2T1h4JNyDxMaQq6pXZ0mjBXxLbp6llK5jjO7WugCDi2UXZ4HSxB9FBnHzSL7+G1XBCshbpK/n/08N/LmJyeerIrDhTARW7K9Jn/dfYUKAQ6KLmQtWm5ORh0Ae8LQeSrEEF3yCVAhmxeIOyRAE8TX8MtC3Pk/JF9Ez2x7XrXuFH57ktnzgQ73hJTYMNf31aCZcKjwTMbtGKH8Nvx1uy7EBcIVCqjJ0bKbvy7AJLRM5hClb/gjSDjvdwRplmjCxFFEt1ziRKLQlyfDiD60xLLV+YlvqVNR+/RnAkkLtHdyf5KLsVYXMMB73Fp7jw2LiWqZac+YhFNnQPRTc6rpwDS0mN+GWw/v7hUFbQ1pvCK8WXoOQLcvbfxHpS8T7J8QRBxTA5c+0ktGHby8B/Ex815TFIK8U0jT/GIGoH5HEeqXxPLWCiFR8GkbTY3dT7dW2tCziDsUvfS+tOnixH2ZZVXCvcyfq65C5MrUZhahwo94mGP+sj83HuzSCCqtjnxJqD8EY3P2Veoj3y/fRxMIROl8Lz8P7t9f3ZG0zDqiAaAAooquIXwy+NynEIRrxcCaUBOiiOdIThtdffS4mXIgeHL575ACT1/gOidPdy772GucauuuLeUhRxp/K6pw7GbMF7BWAXYv+eNd24Kh4e7hQBRpdn2HC+ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR12MB5427.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(346002)(136003)(39860400002)(396003)(366004)(451199015)(31696002)(2906002)(5660300002)(66476007)(8936002)(83380400001)(41300700001)(8676002)(6506007)(66946007)(44832011)(66556008)(4001150100001)(921005)(36756003)(2616005)(186003)(478600001)(26005)(6512007)(6666004)(316002)(6486002)(53546011)(38100700002)(86362001)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?TUhOTWsyYVRkQm8yMDFxQ1p0dFFnV0RZTkk3WU5EOUNqaXVsd2NlVGF2V1VN?= =?utf-8?B?RW9zaTF2MFJXZXd4QWhoQnRCb21VeHlDQmxjQkM0WXNwcnIyMUdkSGcvaXda?= =?utf-8?B?YzlzaFZRV0laU2F2U1RyV05reWxCMXhOVmdpWXhyTUZoT3ZyMUNURUQ0QjZz?= =?utf-8?B?VzM5VjhuUmk3NTZaYWhNV3BUTCtNdkMvVU9sZ1JaV1JQT2kwa2hQS3cxUXVY?= =?utf-8?B?VmdneU9nU3hXT1VqUlpGMy9KM2FPcmtFYXRnUS9BRFV0dmJrSjZkWHlZd1hy?= =?utf-8?B?Ym5SUENKQ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dThXWlRs?= =?utf-8?Q?xPKHcZQ3UhhB5Ya2MTHVba5aG?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63d85d61-7fdf-4efc-6cbe-08dab1d5a704 X-MS-Exchange-CrossTenant-AuthSource: CO6PR12MB5427.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 13:27:21.8644 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: uBD/qpRa49MJIF6jRtZLt45vTRF1fyYIfsCyEZPQwwFILIWL32w9Z2S5C7WoP/wO3HubRuvLy+j5N063u9GRGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6140 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 On 2022-10-19 02:31, ruanjinjie wrote: > The symbol is not used outside of the file, so mark it static. > > Fixes the following warning: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_mmhubbub.c:214:28: > warning: symbol 'dcn32_mmhubbub_funcs' was > not declared. Should it be static? > > Signed-off-by: ruanjinjie Reviewed-by: Harry Wentland Harry > --- > 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 41b0baf8e183..c3b089ba511a 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn32/dcn32_mmhubbub.c > @@ -211,7 +211,7 @@ static void mmhubbub32_config_mcif_arb(struct mcif_wb *mcif_wb, > REG_UPDATE(MCIF_WB_ARBITRATION_CONTROL, MCIF_WB_CLIENT_ARBITRATION_SLICE, params->arbitration_slice); > } > > -const struct mcif_wb_funcs dcn32_mmhubbub_funcs = { > +static const struct mcif_wb_funcs dcn32_mmhubbub_funcs = { > .warmup_mcif = mmhubbub32_warmup_mcif, > .enable_mcif = mmhubbub2_enable_mcif, > .disable_mcif = mmhubbub2_disable_mcif,