tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f2e19fd15bd7cba347ce50be71955f5cd28a6019 commit: a3659122cbe358c9de9e95f80331dc050bd6375e [13509/13751] drm/amd/display: To support sending TPS3 pattern when restoring link config: i386-buildonly-randconfig-r003-20211111 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a3659122cbe358c9de9e95f80331dc050bd6375e 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 a3659122cbe358c9de9e95f80331dc050bd6375e # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:35: drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending': drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2892:12: error: variable 'temp' set but not used [-Werror=unused-but-set-variable] 2892 | uint64_t temp; | ^~~~ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: At top level: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:634:6: error: no previous prototype for 'dmub_aux_setconfig_callback' [-Werror=missing-prototypes] 634 | void dmub_aux_setconfig_callback(struct amdgpu_device *adev, struct dmub_notification *notify) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:650:6: error: no previous prototype for 'dmub_hpd_callback' [-Werror=missing-prototypes] 650 | void dmub_hpd_callback(struct amdgpu_device *adev, struct dmub_notification *notify) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:707:6: error: no previous prototype for 'register_dmub_notify_callback' [-Werror=missing-prototypes] 707 | bool register_dmub_notify_callback(struct amdgpu_device *adev, enum dmub_notification_type type, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:11458:5: error: no previous prototype for 'amdgpu_dm_set_dmub_async_sync_status' [-Werror=missing-prototypes] 11458 | int amdgpu_dm_set_dmub_async_sync_status(bool is_cmd_aux, struct dc_context *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/link_enc_cfg.h:33, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:32: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- In file included from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:41: drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending': drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2892:12: error: variable 'temp' set but not used [-Werror=unused-but-set-variable] 2892 | uint64_t temp; | ^~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/dc_link_ddc.h:29, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c:38: At top level: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_trace.h:40, from drivers/gpu/drm/amd/amdgpu/../display/dc/dc_trace.h:24, from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/dc_fpu.c:27: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:742:14: error: no previous prototype for 'get_highest_allowed_voltage_level' [-Werror=missing-prototypes] 742 | unsigned int get_highest_allowed_voltage_level(uint32_t chip_family, uint32_t hw_internal_rev, uint32_t pci_revision_id) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:32: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr.c:37:6: error: no previous prototype for 'rv1_init_clocks' [-Werror=missing-prototypes] 37 | void rv1_init_clocks(struct clk_mgr *clk_mgr) | ^~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr.c:29: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c:102:5: error: no previous prototype for 'rv1_vbios_smu_send_msg_with_param' [-Werror=missing-prototypes] 102 | int rv1_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigned int param) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c:123:5: error: no previous prototype for 'rv1_vbios_smu_set_dispclk' [-Werror=missing-prototypes] 123 | int rv1_vbios_smu_set_dispclk(struct clk_mgr_internal *clk_mgr, int requested_dispclk_khz) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c:146:5: error: no previous prototype for 'rv1_vbios_smu_set_dprefclk' [-Werror=missing-prototypes] 146 | int rv1_vbios_smu_set_dprefclk(struct clk_mgr_internal *clk_mgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c:26: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c:412:6: error: no previous prototype for 'dcn2_enable_pme_wa' [-Werror=missing-prototypes] 412 | void dcn2_enable_pme_wa(struct clk_mgr *clk_mgr_base) | ^~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/clk_mgr_internal.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c:27: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:77:6: error: no previous prototype for 'dcn201_update_clocks_vbios' [-Werror=missing-prototypes] 77 | void dcn201_update_clocks_vbios(struct clk_mgr *clk_mgr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c: In function 'dcn201_update_clocks': drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:132:7: error: variable 'enter_display_off' set but not used [-Werror=unused-but-set-variable] 132 | bool enter_display_off = false; | ^~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:36: At top level: drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:129:29: error: 'UVD0_BASE' defined but not used [-Werror=unused-const-variable=] 129 | static const struct IP_BASE UVD0_BASE ={ { { { 0x00007800, 0x00007E00, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:123:29: error: 'UMC0_BASE' defined but not used [-Werror=unused-const-variable=] 123 | static const struct IP_BASE UMC0_BASE ={ { { { 0x00014000, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:117:29: error: 'THM_BASE' defined but not used [-Werror=unused-const-variable=] 117 | static const struct IP_BASE THM_BASE ={ { { { 0x00016600, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:111:29: error: 'SMUIO_BASE' defined but not used [-Werror=unused-const-variable=] 111 | static const struct IP_BASE SMUIO_BASE ={ { { { 0x00016800, 0x00016A00, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:105:29: error: 'OSSSYS_BASE' defined but not used [-Werror=unused-const-variable=] 105 | static const struct IP_BASE OSSSYS_BASE ={ { { { 0x000010A0, 0, 0, 0, 0 } }, | ^~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:99:29: error: 'NBIO_BASE' defined but not used [-Werror=unused-const-variable=] 99 | static const struct IP_BASE NBIO_BASE ={ { { { 0x00000000, 0x00000014, 0x00000D20, 0x00010400, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:93:29: error: 'MP1_BASE' defined but not used [-Werror=unused-const-variable=] 93 | static const struct IP_BASE MP1_BASE ={ { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:87:29: error: 'MP0_BASE' defined but not used [-Werror=unused-const-variable=] 87 | static const struct IP_BASE MP0_BASE ={ { { { 0x00016000, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:81:29: error: 'MMHUB_BASE' defined but not used [-Werror=unused-const-variable=] 81 | static const struct IP_BASE MMHUB_BASE ={ { { { 0x0001A000, 0, 0, 0, 0 } }, | ^~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:75:29: error: 'HDP_BASE' defined but not used [-Werror=unused-const-variable=] 75 | static const struct IP_BASE HDP_BASE ={ { { { 0x00000F20, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:69:29: error: 'GC_BASE' defined but not used [-Werror=unused-const-variable=] 69 | static const struct IP_BASE GC_BASE ={ { { { 0x00001260, 0x0000A000, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:63:29: error: 'FUSE_BASE' defined but not used [-Werror=unused-const-variable=] 63 | static const struct IP_BASE FUSE_BASE ={ { { { 0x00017400, 0, 0, 0, 0 } }, | ^~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:57:29: error: 'DMU_BASE' defined but not used [-Werror=unused-const-variable=] 57 | static const struct IP_BASE DMU_BASE ={ { { { 0x00000012, 0x000000C0, 0x000034C0, 0x00009000, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:51:29: error: 'DF_BASE' defined but not used [-Werror=unused-const-variable=] 51 | static const struct IP_BASE DF_BASE ={ { { { 0x00007000, 0, 0, 0, 0 } }, | ^~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:45:29: error: 'CLK_BASE' defined but not used [-Werror=unused-const-variable=] 45 | static const struct IP_BASE CLK_BASE ={ { { { 0x00016C00, 0, 0, 0, 0 } }, | ^~~~~~~~ drivers/gpu/drm/amd/amdgpu/../include/cyan_skillfish_ip_offset.h:39:29: error: 'ATHUB_BASE' defined but not used [-Werror=unused-const-variable=] 39 | static const struct IP_BASE ATHUB_BASE ={ { { { 0x00000C00, 0, 0, 0, 0 } }, | ^~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c:27: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:59:5: error: no previous prototype for 'rn_get_active_display_cnt_wa' [-Werror=missing-prototypes] 59 | int rn_get_active_display_cnt_wa( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:91:6: error: no previous prototype for 'rn_set_low_power_state' [-Werror=missing-prototypes] 91 | void rn_set_low_power_state(struct clk_mgr *clk_mgr_base) | ^~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:125:6: error: no previous prototype for 'rn_update_clocks' [-Werror=missing-prototypes] 125 | void rn_update_clocks(struct clk_mgr *clk_mgr_base, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:441:6: error: no previous prototype for 'rn_get_clk_states' [-Werror=missing-prototypes] 441 | void rn_get_clk_states(struct clk_mgr *clk_mgr_base, struct clk_states *s) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:451:6: error: no previous prototype for 'rn_enable_pme_wa' [-Werror=missing-prototypes] 451 | void rn_enable_pme_wa(struct clk_mgr *clk_mgr_base) | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:458:6: error: no previous prototype for 'rn_init_clocks' [-Werror=missing-prototypes] 458 | void rn_init_clocks(struct clk_mgr *clk_mgr) | ^~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/clk_mgr_internal.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:27: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:89:5: error: no previous prototype for 'rn_vbios_smu_send_msg_with_param' [-Werror=missing-prototypes] 89 | int rn_vbios_smu_send_msg_with_param(struct clk_mgr_internal *clk_mgr, unsigned int msg_id, unsigned int param) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:110:5: error: no previous prototype for 'rn_vbios_smu_get_smu_version' [-Werror=missing-prototypes] 110 | int rn_vbios_smu_get_smu_version(struct clk_mgr_internal *clk_mgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:119:5: error: no previous prototype for 'rn_vbios_smu_set_dispclk' [-Werror=missing-prototypes] 119 | int rn_vbios_smu_set_dispclk(struct clk_mgr_internal *clk_mgr, int requested_dispclk_khz) | ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:146:5: error: no previous prototype for 'rn_vbios_smu_set_dprefclk' [-Werror=missing-prototypes] 146 | int rn_vbios_smu_set_dprefclk(struct clk_mgr_internal *clk_mgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:160:5: error: no previous prototype for 'rn_vbios_smu_set_hard_min_dcfclk' [-Werror=missing-prototypes] 160 | int rn_vbios_smu_set_hard_min_dcfclk(struct clk_mgr_internal *clk_mgr, int requested_dcfclk_khz) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:175:5: error: no previous prototype for 'rn_vbios_smu_set_min_deep_sleep_dcfclk' [-Werror=missing-prototypes] 175 | int rn_vbios_smu_set_min_deep_sleep_dcfclk(struct clk_mgr_internal *clk_mgr, int requested_min_ds_dcfclk_khz) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:190:6: error: no previous prototype for 'rn_vbios_smu_set_phyclk' [-Werror=missing-prototypes] 190 | void rn_vbios_smu_set_phyclk(struct clk_mgr_internal *clk_mgr, int requested_phyclk_khz) | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:198:5: error: no previous prototype for 'rn_vbios_smu_set_dppclk' [-Werror=missing-prototypes] 198 | int rn_vbios_smu_set_dppclk(struct clk_mgr_internal *clk_mgr, int requested_dpp_khz) | ^~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:214:6: error: no previous prototype for 'rn_vbios_smu_set_dcn_low_power_state' [-Werror=missing-prototypes] 214 | void rn_vbios_smu_set_dcn_low_power_state(struct clk_mgr_internal *clk_mgr, enum dcn_pwr_state state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:229:6: error: no previous prototype for 'rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn' [-Werror=missing-prototypes] 229 | void rn_vbios_smu_enable_48mhz_tmdp_refclk_pwrdwn(struct clk_mgr_internal *clk_mgr, bool enable) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:6: error: no previous prototype for 'rn_vbios_smu_enable_pme_wa' [-Werror=missing-prototypes] 237 | void rn_vbios_smu_enable_pme_wa(struct clk_mgr_internal *clk_mgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:245:5: error: no previous prototype for 'rn_vbios_smu_is_periodic_retraining_disabled' [-Werror=missing-prototypes] 245 | int rn_vbios_smu_is_periodic_retraining_disabled(struct clk_mgr_internal *clk_mgr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:26: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn301/vg_clk_mgr.c:92:6: error: no previous prototype for 'vg_update_clocks' [-Werror=missing-prototypes] 92 | void vg_update_clocks(struct clk_mgr *clk_mgr_base, | ^~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn301/vg_clk_mgr.c:371:6: error: no previous prototype for 'vg_get_clk_states' [-Werror=missing-prototypes] 371 | void vg_get_clk_states(struct clk_mgr *clk_mgr_base, struct clk_states *s) | ^~~~~~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn301/vg_clk_mgr.c:389:6: error: no previous prototype for 'vg_init_clocks' [-Werror=missing-prototypes] 389 | void vg_init_clocks(struct clk_mgr *clk_mgr) | ^~~~~~~~~~~~~~ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/resource.h:28, from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/hw/clk_mgr_internal.h:36, from drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn301/vg_clk_mgr.c:27: >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:121:22: error: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Werror=unused-const-variable=] 121 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:120:22: error: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Werror=unused-const-variable=] 120 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors .. vim +/DP_SINK_DEVICE_STR_ID_2 +121 drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h 119 > 120 static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0}; > 121 static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0}; 122 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip