From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5AB6CC61DA4 for ; Mon, 6 Feb 2023 11:15:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C30FF6B0072; Mon, 6 Feb 2023 06:15:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id BE1586B0073; Mon, 6 Feb 2023 06:15:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AA8576B0074; Mon, 6 Feb 2023 06:15:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 9B5BA6B0072 for ; Mon, 6 Feb 2023 06:15:02 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 541DA80C68 for ; Mon, 6 Feb 2023 11:15:02 +0000 (UTC) X-FDA: 80436610044.20.CADFEEA Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf28.hostedemail.com (Postfix) with ESMTP id 1822DC000E for ; Mon, 6 Feb 2023 11:14:59 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=WzubTEfg; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675682100; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=kfiLKyZivGLXxt8rtY6SP4tXd30XNoabM8efQDcA1yw=; b=J1k3bLG2TL0m4O7WKNtRhnX5RAxtSJoxIv/dDHzi8YXjN1dERFhfEWpxYozj75Mr+rD7rg 6Pn57KVD4S3buKqX7PJORkTsmiLvWrY9G1WlLJI4DLeQCZkVGPrurKPSwj9/mufyfd2wPP KYmMxSz4Drdgwzx6SeHV1O/1HLhSZ0w= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=WzubTEfg; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf28.hostedemail.com: domain of lkp@intel.com designates 134.134.136.126 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675682100; a=rsa-sha256; cv=none; b=SvZZGnH0+PGk2OF1grxiRpMxqINEJTkqhODebcmDmCZUhBp+EIw8KQGXojdi4o/L/CUeXL crEZc6QLbD9Vav5C5c5pbglEy2/Adx0HLfTbPtk2yH4jRZXOeD5bNhZGzFQ4eMCRRxIhjo 9u2eQerbrXmSd6k/T/jxLlAP1FIOjBk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675682100; x=1707218100; h=date:from:to:cc:subject:message-id:mime-version; bh=u7O/1i2YJdyG4abIKu2dmjy0+ZTSRY6BC3l6Oy9XhGQ=; b=WzubTEfg9OtxuRkSl2kiNWDq38zoDQxuxlvBbd4L9d+no6vwcnBxYxM8 7dOr7WAtiu1/xB1ZqRIB8Yy9tmkA0qpJdw9pnaLqUHnB0E+B5gyHWzhtF v6S+iLxD+4iOzzCODki+x0+buAYVQJBrSKKsTpeQfXPlfLOnKNqMgT0lo iNSqDqAJlPkDOCeBs6N+KJHbkgo92AuheVqK22bjjH/ih9XDsYRQxXOpx gD4eAfcvxaOxp6AovRdGoXpMA6CdetfDQBXFgNmz794y3/bwQzt6XcwAc 9E751mzlyeD3ZrEpl6dSEsirYhozEh3KyhZAJRXtsLJXdOfMgiM8wxIoc Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10612"; a="312833979" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="312833979" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2023 03:14:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10612"; a="911889466" X-IronPort-AV: E=Sophos;i="5.97,276,1669104000"; d="scan'208";a="911889466" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 06 Feb 2023 03:14:54 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pOzSY-0002VY-0m; Mon, 06 Feb 2023 11:14:54 +0000 Date: Mon, 6 Feb 2023 19:14:46 +0800 From: kernel test robot To: Charlene Liu Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alex Deucher , Hansen Dsouza , Duncan Ma Subject: [linux-next:master 3628/10565] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubbub.c:1011:6: warning: no previous prototype for 'hubbub31_init' Message-ID: <202302061911.C7xvHX9v-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 1822DC000E X-Stat-Signature: 5zrgjtxmeqw5dae3hpn8151oqjhz7mct X-HE-Tag: 1675682099-922459 X-HE-Meta: U2FsdGVkX18r+UkQoIeZ6ZCEbvOsThJ+iiaU+wLoYaSw4WW7tUebQdlmiXQgMa7aiSGWF4kzeJMCDqHSMMdJQq0uQarPY5L5Bb1GHxoDssTyb74IBfHPrlLyW6sgUDBNx5FC4BZLMYxykzQEl9BOFusOaNrVanWVFiONmX01CM1o29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qlV/umnwyzeVKz9sSU+G2i7yxaliyA3BCD+AD6qYfGOFLcDgYi4upfzao0TSX9JnqkeyoGv25AdgQ8pYT5ZtFPS7WvLChK2X8MvH8PjUPrLrnpvzUw0xwzo57Ve7ZyaxTseLF6Y= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 129af770823407ee115a56c69a04b440fd2fbe61 commit: dbc2309cac2a550a94357c31b3dacd69647a3f46 [3628/10565] drm/amd/display: add hubbub_init related config: arm64-randconfig-r011-20230206 (https://download.01.org/0day-ci/archive/20230206/202302061911.C7xvHX9v-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=dbc2309cac2a550a94357c31b3dacd69647a3f46 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout dbc2309cac2a550a94357c31b3dacd69647a3f46 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubbub.c:1011:6: warning: no previous prototype for 'hubbub31_init' [-Wmissing-prototypes] 1011 | void hubbub31_init(struct hubbub *hubbub) | ^~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubbub.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubbub.c:27: drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:137:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=] 137 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA"; | ^~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:134:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=] 134 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=] 132 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5}; | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:131:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=] 131 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3}; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:29: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_hdmi_types.h:53:22: warning: 'dp_hdmi_dongle_signature_str' defined but not used [-Wunused-const-variable=] 53 | static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- >> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hubbub.c:948:6: warning: no previous prototype for 'hubbub32_init' [-Wmissing-prototypes] 948 | void hubbub32_init(struct hubbub *hubbub) | ^~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubbub.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn30/dcn30_hubbub.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hubbub.c:27: drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:137:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=] 137 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA"; | ^~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:134:17: warning: 'DP_SINK_BRANCH_DEV_NAME_7580' defined but not used [-Wunused-const-variable=] 134 | static const u8 DP_SINK_BRANCH_DEV_NAME_7580[] = "7580\x80u"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:132:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=] 132 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5}; | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:131:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=] 131 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3}; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/dc.h:29, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:29: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_hdmi_types.h:53:22: warning: 'dp_hdmi_dongle_signature_str' defined but not used [-Wunused-const-variable=] 53 | static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- >> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hubp.c:158:6: warning: no previous prototype for 'hubp32_init' [-Wmissing-prototypes] 158 | void hubp32_init(struct hubp *hubp) | ^~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_types.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:30, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:35, from drivers/gpu/drm/amd/amdgpu/../display/dc/dcn32/dcn32_hubp.c:26: drivers/gpu/drm/amd/amdgpu/../display/dc/dc_hdmi_types.h:53:22: warning: 'dp_hdmi_dongle_signature_str' defined but not used [-Wunused-const-variable=] 53 | static const uint8_t dp_hdmi_dongle_signature_str[] = "DP-HDMI ADAPTOR"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/hubbub31_init +1011 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn31/dcn31_hubbub.c 1010 > 1011 void hubbub31_init(struct hubbub *hubbub) 1012 { 1013 struct dcn20_hubbub *hubbub2 = TO_DCN20_HUBBUB(hubbub); 1014 1015 /*Enable clock gate*/ 1016 if (hubbub->ctx->dc->debug.disable_clock_gate) { 1017 /*done in hwseq*/ 1018 /*REG_UPDATE(DCFCLK_CNTL, DCFCLK_GATE_DIS, 0);*/ 1019 REG_UPDATE_2(DCHUBBUB_CLOCK_CNTL, 1020 DISPCLK_R_DCHUBBUB_GATE_DIS, 0, 1021 DCFCLK_R_DCHUBBUB_GATE_DIS, 0); 1022 } 1023 1024 /* 1025 only the DCN will determine when to connect the SDP port 1026 */ 1027 REG_UPDATE(DCHUBBUB_SDPIF_CFG0, SDPIF_PORT_CONTROL, 1); 1028 } 1029 static const struct hubbub_funcs hubbub31_funcs = { 1030 .update_dchub = hubbub2_update_dchub, 1031 .init_dchub_sys_ctx = hubbub31_init_dchub_sys_ctx, 1032 .init_vm_ctx = hubbub2_init_vm_ctx, 1033 .dcc_support_swizzle = hubbub3_dcc_support_swizzle, 1034 .dcc_support_pixel_format = hubbub2_dcc_support_pixel_format, 1035 .get_dcc_compression_cap = hubbub31_get_dcc_compression_cap, 1036 .wm_read_state = hubbub21_wm_read_state, 1037 .get_dchub_ref_freq = hubbub31_get_dchub_ref_freq, 1038 .program_watermarks = hubbub31_program_watermarks, 1039 .allow_self_refresh_control = hubbub1_allow_self_refresh_control, 1040 .is_allow_self_refresh_enabled = hubbub1_is_allow_self_refresh_enabled, 1041 .verify_allow_pstate_change_high = hubbub31_verify_allow_pstate_change_high, 1042 .program_det_size = dcn31_program_det_size, 1043 .program_compbuf_size = dcn31_program_compbuf_size, 1044 .init_crb = dcn31_init_crb, 1045 .hubbub_read_state = hubbub2_read_state, 1046 }; 1047 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests