* drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c:113:5: warning: no previous prototype for 'pm_set_resources_vi'
@ 2020-06-17 10:51 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-17 10:51 UTC (permalink / raw)
To: Timothy Pearson; +Cc: kbuild-all, linux-kernel, Alex Deucher
[-- Attachment #1: Type: text/plain, Size: 5404 bytes --]
Hi Timothy,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 69119673bd50b176ded34032fadd41530fb5af21
commit: 70ebe8a48216ae2fda862cae47ff0b8af5b279b9 amdgpu: Enable KFD on POWER systems
date: 7 months ago
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.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
git checkout 70ebe8a48216ae2fda862cae47ff0b8af5b279b9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c:113:5: warning: no previous prototype for 'pm_set_resources_vi' [-Wmissing-prototypes]
113 | int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer,
| ^~~~~~~~~~~~~~~~~~~
vim +/pm_set_resources_vi +113 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 112
454150b1f9a6be drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 @113 int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer,
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 114 struct scheduling_resources *res)
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 115 {
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 116 struct pm4_mes_set_resources *packet;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 117
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 118 packet = (struct pm4_mes_set_resources *)buffer;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 119 memset(buffer, 0, sizeof(struct pm4_mes_set_resources));
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 120
454150b1f9a6be drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 121 packet->header.u32All = pm_build_pm4_header(IT_SET_RESOURCES,
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 122 sizeof(struct pm4_mes_set_resources));
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 123
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 124 packet->bitfields2.queue_type =
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 125 queue_type__mes_set_resources__hsa_interface_queue_hiq;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 126 packet->bitfields2.vmid_mask = res->vmid_mask;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 127 packet->bitfields2.unmap_latency = KFD_UNMAP_LATENCY_MS / 100;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 128 packet->bitfields7.oac_mask = res->oac_mask;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 129 packet->bitfields8.gds_heap_base = res->gds_heap_base;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 130 packet->bitfields8.gds_heap_size = res->gds_heap_size;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 131
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 132 packet->gws_mask_lo = lower_32_bits(res->gws_mask);
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 133 packet->gws_mask_hi = upper_32_bits(res->gws_mask);
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 134
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 135 packet->queue_mask_lo = lower_32_bits(res->queue_mask);
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 136 packet->queue_mask_hi = upper_32_bits(res->queue_mask);
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 137
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 138 return 0;
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 139 }
f6e27ff19d9db9 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 140
:::::: The code at line 113 was first introduced by commit
:::::: 454150b1f9a6be0a69138a698471bd13424204cc drm/amdkfd: Add GFXv9 PM4 packet writer functions
:::::: TO: Felix Kuehling <Felix.Kuehling@amd.com>
:::::: CC: Oded Gabbay <oded.gabbay@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 63685 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c:113:5: warning: no previous prototype for 'pm_set_resources_vi'
@ 2020-08-03 12:01 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-03 12:01 UTC (permalink / raw)
To: Yong Zhao; +Cc: kbuild-all, linux-kernel, Alex Deucher, Felix Kuehling
[-- Attachment #1: Type: text/plain, Size: 5263 bytes --]
Hi Yong,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: bcf876870b95592b52519ed4aafcf9d95999bc9c
commit: 594d0c90a48e9e661564d3584cda0a7c363e1611 drm/amdkfd: Rename kfd_kernel_queue_*.c to kfd_packet_manager_*.c
date: 9 months ago
config: x86_64-randconfig-r015-20200803 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
git checkout 594d0c90a48e9e661564d3584cda0a7c363e1611
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c:113:5: warning: no previous prototype for 'pm_set_resources_vi' [-Wmissing-prototypes]
113 | int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer,
| ^~~~~~~~~~~~~~~~~~~
vim +/pm_set_resources_vi +113 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 112
454150b1f9a6be0 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 @113 int pm_set_resources_vi(struct packet_manager *pm, uint32_t *buffer,
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 114 struct scheduling_resources *res)
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 115 {
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 116 struct pm4_mes_set_resources *packet;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 117
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 118 packet = (struct pm4_mes_set_resources *)buffer;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 119 memset(buffer, 0, sizeof(struct pm4_mes_set_resources));
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 120
454150b1f9a6be0 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 121 packet->header.u32All = pm_build_pm4_header(IT_SET_RESOURCES,
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 122 sizeof(struct pm4_mes_set_resources));
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 123
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 124 packet->bitfields2.queue_type =
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 125 queue_type__mes_set_resources__hsa_interface_queue_hiq;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 126 packet->bitfields2.vmid_mask = res->vmid_mask;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 127 packet->bitfields2.unmap_latency = KFD_UNMAP_LATENCY_MS / 100;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 128 packet->bitfields7.oac_mask = res->oac_mask;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 129 packet->bitfields8.gds_heap_base = res->gds_heap_base;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 130 packet->bitfields8.gds_heap_size = res->gds_heap_size;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 131
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 132 packet->gws_mask_lo = lower_32_bits(res->gws_mask);
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 133 packet->gws_mask_hi = upper_32_bits(res->gws_mask);
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 134
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 135 packet->queue_mask_lo = lower_32_bits(res->queue_mask);
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 136 packet->queue_mask_hi = upper_32_bits(res->queue_mask);
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 137
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 138 return 0;
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 139 }
f6e27ff19d9db90 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c Felix Kuehling 2018-04-10 140
:::::: The code at line 113 was first introduced by commit
:::::: 454150b1f9a6be0a69138a698471bd13424204cc drm/amdkfd: Add GFXv9 PM4 packet writer functions
:::::: TO: Felix Kuehling <Felix.Kuehling@amd.com>
:::::: CC: Oded Gabbay <oded.gabbay@gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36719 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-03 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 10:51 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_packet_manager_vi.c:113:5: warning: no previous prototype for 'pm_set_resources_vi' kernel test robot
2020-08-03 12:01 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).