tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.8-wip-dal head: febc9e1f8b905e5df7b34fb697ffc4968a940577 commit: c7930b7f714f7b2d10e7f12641cf26bb75c3f6ae [89/562] drm/amd/dal: Treat warnings as errors config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: git checkout c7930b7f714f7b2d10e7f12641cf26bb75c3f6ae # save the attached .config to linux build tree make ARCH=i386
Note: the radeon-alex/drm-next-4.8-wip-dal HEAD febc9e1f8b905e5df7b34fb697ffc4968a940577 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:288:40: error: 'cpl_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg cpl_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:283:40: error: 'mc3_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg mc3_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:278:40: error: 'mc2_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg mc2_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:273:40: error: 'mc1_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg mc1_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:268:40: error: 'mc0_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg mc0_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:263:40: error: 'sx0_cac_config_reg' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_reg sx0_cac_config_reg[] = ^~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:231:43: error: 'cpl_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values cpl_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:225:43: error: 'mc3_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values mc3_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:219:43: error: 'mc2_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values mc2_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:213:43: error: 'mc1_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values mc1_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:207:43: error: 'mc0_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values mc0_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/kv_dpm.c:194:43: error: 'sx_local_cac_cfg_kv' >> defined but not used [-Werror=unused-const-variable=] static const struct kv_lcac_config_values sx_local_cac_cfg_kv[] = ^~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> drivers/gpu/drm/amd/amdgpu/ci_dpm.c:101:36: error: 'defaults_saturn_pro' >> defined but not used [-Werror=unused-const-variable=] static const struct ci_pt_defaults defaults_saturn_pro = ^~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/ci_dpm.c:87:36: error: 'defaults_bonaire_pro' >> defined but not used [-Werror=unused-const-variable=] static const struct ci_pt_defaults defaults_bonaire_pro = ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- >> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:102:22: error: >> 'PP_ClockStretchAmountConversion' defined but not used >> [-Werror=unused-const-variable=] static const uint8_t PP_ClockStretchAmountConversion[2][6] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:97:23: error: >> 'PP_ClockStretcherDDTTable' defined but not used >> [-Werror=unused-const-variable=] static const uint32_t PP_ClockStretcherDDTTable[2][4][4] = { ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/tonga_hwmgr.c:92:23: error: >> 'PP_ClockStretcherLookupTable' defined but not used >> [-Werror=unused-const-variable=] static const uint16_t PP_ClockStretcherLookupTable[2][4] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/cpl_cac_config_reg +288 drivers/gpu/drm/amd/amdgpu/kv_dpm.c a2e73f56 Alex Deucher 2015-04-20 188 } a2e73f56 Alex Deucher 2015-04-20 189 } a2e73f56 Alex Deucher 2015-04-20 190 a2e73f56 Alex Deucher 2015-04-20 191 vid_mapping_table->num_entries = i; a2e73f56 Alex Deucher 2015-04-20 192 } a2e73f56 Alex Deucher 2015-04-20 193 a2e73f56 Alex Deucher 2015-04-20 @194 static const struct kv_lcac_config_values sx_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 195 { a2e73f56 Alex Deucher 2015-04-20 196 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 197 { 1, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 198 { 2, 5, 1 }, a2e73f56 Alex Deucher 2015-04-20 199 { 3, 4, 2 }, a2e73f56 Alex Deucher 2015-04-20 200 { 4, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 201 { 5, 5, 2 }, a2e73f56 Alex Deucher 2015-04-20 202 { 6, 6, 1 }, a2e73f56 Alex Deucher 2015-04-20 203 { 7, 9, 2 }, a2e73f56 Alex Deucher 2015-04-20 204 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 205 }; a2e73f56 Alex Deucher 2015-04-20 206 a2e73f56 Alex Deucher 2015-04-20 @207 static const struct kv_lcac_config_values mc0_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 208 { a2e73f56 Alex Deucher 2015-04-20 209 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 210 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 211 }; a2e73f56 Alex Deucher 2015-04-20 212 a2e73f56 Alex Deucher 2015-04-20 @213 static const struct kv_lcac_config_values mc1_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 214 { a2e73f56 Alex Deucher 2015-04-20 215 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 216 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 217 }; a2e73f56 Alex Deucher 2015-04-20 218 a2e73f56 Alex Deucher 2015-04-20 @219 static const struct kv_lcac_config_values mc2_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 220 { a2e73f56 Alex Deucher 2015-04-20 221 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 222 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 223 }; a2e73f56 Alex Deucher 2015-04-20 224 a2e73f56 Alex Deucher 2015-04-20 @225 static const struct kv_lcac_config_values mc3_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 226 { a2e73f56 Alex Deucher 2015-04-20 227 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 228 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 229 }; a2e73f56 Alex Deucher 2015-04-20 230 a2e73f56 Alex Deucher 2015-04-20 @231 static const struct kv_lcac_config_values cpl_local_cac_cfg_kv[] = a2e73f56 Alex Deucher 2015-04-20 232 { a2e73f56 Alex Deucher 2015-04-20 233 { 0, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 234 { 1, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 235 { 2, 5, 1 }, a2e73f56 Alex Deucher 2015-04-20 236 { 3, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 237 { 4, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 238 { 5, 5, 1 }, a2e73f56 Alex Deucher 2015-04-20 239 { 6, 6, 1 }, a2e73f56 Alex Deucher 2015-04-20 240 { 7, 9, 1 }, a2e73f56 Alex Deucher 2015-04-20 241 { 8, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 242 { 9, 2, 1 }, a2e73f56 Alex Deucher 2015-04-20 243 { 10, 3, 1 }, a2e73f56 Alex Deucher 2015-04-20 244 { 11, 6, 1 }, a2e73f56 Alex Deucher 2015-04-20 245 { 12, 8, 2 }, a2e73f56 Alex Deucher 2015-04-20 246 { 13, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 247 { 14, 2, 1 }, a2e73f56 Alex Deucher 2015-04-20 248 { 15, 3, 1 }, a2e73f56 Alex Deucher 2015-04-20 249 { 16, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 250 { 17, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 251 { 18, 3, 1 }, a2e73f56 Alex Deucher 2015-04-20 252 { 19, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 253 { 20, 8, 1 }, a2e73f56 Alex Deucher 2015-04-20 254 { 21, 5, 1 }, a2e73f56 Alex Deucher 2015-04-20 255 { 22, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 256 { 23, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 257 { 24, 4, 1 }, a2e73f56 Alex Deucher 2015-04-20 258 { 27, 6, 1 }, a2e73f56 Alex Deucher 2015-04-20 259 { 28, 1, 1 }, a2e73f56 Alex Deucher 2015-04-20 260 { 0xffffffff } a2e73f56 Alex Deucher 2015-04-20 261 }; a2e73f56 Alex Deucher 2015-04-20 262 a2e73f56 Alex Deucher 2015-04-20 @263 static const struct kv_lcac_config_reg sx0_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 264 { a2e73f56 Alex Deucher 2015-04-20 265 { 0xc0400d00, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 266 }; a2e73f56 Alex Deucher 2015-04-20 267 a2e73f56 Alex Deucher 2015-04-20 @268 static const struct kv_lcac_config_reg mc0_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 269 { a2e73f56 Alex Deucher 2015-04-20 270 { 0xc0400d30, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 271 }; a2e73f56 Alex Deucher 2015-04-20 272 a2e73f56 Alex Deucher 2015-04-20 @273 static const struct kv_lcac_config_reg mc1_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 274 { a2e73f56 Alex Deucher 2015-04-20 275 { 0xc0400d3c, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 276 }; a2e73f56 Alex Deucher 2015-04-20 277 a2e73f56 Alex Deucher 2015-04-20 @278 static const struct kv_lcac_config_reg mc2_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 279 { a2e73f56 Alex Deucher 2015-04-20 280 { 0xc0400d48, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 281 }; a2e73f56 Alex Deucher 2015-04-20 282 a2e73f56 Alex Deucher 2015-04-20 @283 static const struct kv_lcac_config_reg mc3_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 284 { a2e73f56 Alex Deucher 2015-04-20 285 { 0xc0400d54, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 286 }; a2e73f56 Alex Deucher 2015-04-20 287 a2e73f56 Alex Deucher 2015-04-20 @288 static const struct kv_lcac_config_reg cpl_cac_config_reg[] = a2e73f56 Alex Deucher 2015-04-20 289 { a2e73f56 Alex Deucher 2015-04-20 290 { 0xc0400d80, 0x003e0000, 17, 0x3fc00000, 22, 0x0001fffe, 1, 0x00000001, 0 } a2e73f56 Alex Deucher 2015-04-20 291 }; :::::: The code at line 288 was first introduced by commit :::::: a2e73f56fa6282481927ec43aa9362c03c2e2104 drm/amdgpu: Add support for CIK parts :::::: TO: Alex Deucher <alexander.deucher at amd.com> :::::: CC: Alex Deucher <alexander.deucher at amd.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 54531 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160527/48844980/attachment-0001.obj>