tree: git://people.freedesktop.org/~agd5f/linux.git drm-next head: b8bccd965ee3a8e17af971e55ec8df9e425dec5c commit: e098bc9612c2b60f94920461d71c92962a916e73 [473/599] drm/amd/pm: optimize the power related source code layout config: arm-randconfig-s031-20200829 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty git checkout e098bc9612c2b60f94920461d71c92962a916e73 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:65:25: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:74:26: sparse: sparse: cast to restricted __be32 >> drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:408:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void volatile [noderef] __iomem *to @@ got void *kaddr @@ >> drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:408:9: sparse: expected void volatile [noderef] __iomem *to drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c:408:9: sparse: got void *kaddr git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git git fetch --no-tags radeon-alex drm-next git checkout e098bc9612c2b60f94920461d71c92962a916e73 vim +408 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/smu7_smumgr.c 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 321 d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 322 int smu7_request_smu_load_fw(struct pp_hwmgr *hwmgr) 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 323 { b3b030520df05fc drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-26 324 struct smu7_smumgr *smu_data = (struct smu7_smumgr *)(hwmgr->smu_backend); 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 325 uint32_t fw_to_load; d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 326 int r = 0; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 327 744a522794bdc64 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-09-29 328 amdgpu_ucode_init_bo(hwmgr->adev); 744a522794bdc64 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-09-29 329 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 330 if (smu_data->soft_regs_start) d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 331 cgs_write_ind_register(hwmgr->device, CGS_IND_REG__SMC, d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 332 smu_data->soft_regs_start + smum_get_offsetof(hwmgr, 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 333 SMU_SoftRegisters, UcodeLoadStatus), 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 334 0x0); 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 335 d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 336 if (hwmgr->chip_id > CHIP_TOPAZ) { /* add support for Topaz */ 8bb575a2d83af09 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-03-22 337 if (hwmgr->not_vf) { d9c8316eb372268 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-26 338 smum_send_msg_to_smc_with_parameter(hwmgr, e224e4f17dc89b2 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Xiangliang Yu 2016-12-02 339 PPSMC_MSG_SMU_DRAM_ADDR_HI, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 340 upper_32_bits(smu_data->smu_buffer.mc_addr), a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 341 NULL); d9c8316eb372268 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-26 342 smum_send_msg_to_smc_with_parameter(hwmgr, e224e4f17dc89b2 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Xiangliang Yu 2016-12-02 343 PPSMC_MSG_SMU_DRAM_ADDR_LO, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 344 lower_32_bits(smu_data->smu_buffer.mc_addr), a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 345 NULL); e224e4f17dc89b2 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Xiangliang Yu 2016-12-02 346 } 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 347 fw_to_load = UCODE_ID_RLC_G_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 348 + UCODE_ID_SDMA0_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 349 + UCODE_ID_SDMA1_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 350 + UCODE_ID_CP_CE_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 351 + UCODE_ID_CP_ME_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 352 + UCODE_ID_CP_PFP_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 353 + UCODE_ID_CP_MEC_MASK; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 354 } else { 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 355 fw_to_load = UCODE_ID_RLC_G_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 356 + UCODE_ID_SDMA0_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 357 + UCODE_ID_SDMA1_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 358 + UCODE_ID_CP_CE_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 359 + UCODE_ID_CP_ME_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 360 + UCODE_ID_CP_PFP_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 361 + UCODE_ID_CP_MEC_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 362 + UCODE_ID_CP_MEC_JT1_MASK 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 363 + UCODE_ID_CP_MEC_JT2_MASK; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 364 } 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 365 d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 366 if (!smu_data->toc) { d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 367 struct SMU_DRAMData_TOC *toc; d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 368 d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 369 smu_data->toc = kzalloc(sizeof(struct SMU_DRAMData_TOC), GFP_KERNEL); d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 370 if (!smu_data->toc) d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 371 return -ENOMEM; d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 372 toc = smu_data->toc; d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 373 toc->num_entries = 0; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 374 toc->structure_version = 1; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 375 d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 376 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 377 UCODE_ID_RLC_G, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 378 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 379 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 380 UCODE_ID_CP_CE, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 381 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 382 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 383 UCODE_ID_CP_PFP, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 384 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 385 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 386 UCODE_ID_CP_ME, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 387 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 388 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 389 UCODE_ID_CP_MEC, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 390 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 391 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 392 UCODE_ID_CP_MEC_JT1, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 393 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 394 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 395 UCODE_ID_CP_MEC_JT2, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 396 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 397 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 398 UCODE_ID_SDMA0, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 399 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 400 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 401 UCODE_ID_SDMA1, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 402 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); 8bb575a2d83af09 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-03-22 403 if (!hwmgr->not_vf) d3f8c0abf45866d drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2017-09-20 404 PP_ASSERT_WITH_CODE(0 == smu7_populate_single_firmware_entry(hwmgr, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 405 UCODE_ID_MEC_STORAGE, &toc->entry[toc->num_entries++]), d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 406 "Failed to Get Firmware Entry.", r = -EINVAL; goto failed); d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 407 } d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 @408 memcpy_toio(smu_data->header_buffer.kaddr, smu_data->toc, d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 409 sizeof(struct SMU_DRAMData_TOC)); a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 410 smum_send_msg_to_smc_with_parameter(hwmgr, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 411 PPSMC_MSG_DRV_DRAM_ADDR_HI, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 412 upper_32_bits(smu_data->header_buffer.mc_addr), a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 413 NULL); a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 414 smum_send_msg_to_smc_with_parameter(hwmgr, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 415 PPSMC_MSG_DRV_DRAM_ADDR_LO, a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 416 lower_32_bits(smu_data->header_buffer.mc_addr), a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 417 NULL); 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 418 a0ec225633d9f68 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Evan Quan 2020-03-27 419 smum_send_msg_to_smc_with_parameter(hwmgr, PPSMC_MSG_LoadUcodes, fw_to_load, NULL); 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 420 5e161e5442a8a20 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-09-29 421 r = smu7_check_fw_load_finish(hwmgr, fw_to_load); 7a3e0bb2a574284 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-10-10 422 if (!r) 5e161e5442a8a20 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-09-29 423 return 0; 7a3e0bb2a574284 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-10-10 424 5e161e5442a8a20 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2018-09-29 425 pr_err("SMU load firmware failed\n"); d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 426 d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 427 failed: d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 428 kfree(smu_data->toc); d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 429 smu_data->toc = NULL; d92867122cd9524 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Alex Deucher 2018-07-12 430 return r; 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 431 } 1ff55f465103782 drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c Rex Zhu 2016-08-19 432 :::::: The code at line 408 was first introduced by commit :::::: d92867122cd952485a4d209829bfa935689b14fe drm/amdgpu/pp/smu7: cache smu firmware toc :::::: TO: Alex Deucher <alexander.deucher@xxxxxxx> :::::: CC: Alex Deucher <alexander.deucher@xxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel