linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 5239/6929] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info'
@ 2021-10-08 11:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-08 11:15 UTC (permalink / raw)
  To: Alex Deucher; +Cc: llvm, kbuild-all, Linux Memory Management List

[-- Attachment #1: Type: text/plain, Size: 5197 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   683f29b781aeaab6bf302eeb2ef08a5e5f9d8a27
commit: c868d58442ebff350bbb25e38fe4f62c0682129f [5239/6929] drm/amdkfd: convert kfd_device.c to use GC IP version
config: x86_64-buildonly-randconfig-r005-20211008 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b1a45c62f03ecbeb4544b0c65a01ee4586235a61)
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=c868d58442ebff350bbb25e38fe4f62c0682129f
        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 c868d58442ebff350bbb25e38fe4f62c0682129f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 errors (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info raven_device_info = {
                                       ^
>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:117:37: error: unused variable 'hawaii_device_info' [-Werror,-Wunused-const-variable]
   static const struct kfd_device_info hawaii_device_info = {
                                       ^
   2 errors generated.


vim +/raven_device_info +98 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c

4d663df6588709 Yong Zhao      2018-07-13   97  
4d663df6588709 Yong Zhao      2018-07-13  @98  static const struct kfd_device_info raven_device_info = {
4d663df6588709 Yong Zhao      2018-07-13   99  	.asic_family = CHIP_RAVEN,
c181159a5b1e1e Yong Zhao      2019-08-01  100  	.asic_name = "raven",
9d6fa9c7ff930d Graham Sider   2021-07-12  101  	.gfx_target_version = 90002,
4d663df6588709 Yong Zhao      2018-07-13  102  	.max_pasid_bits = 16,
4d663df6588709 Yong Zhao      2018-07-13  103  	.max_no_of_hqd  = 24,
4d663df6588709 Yong Zhao      2018-07-13  104  	.doorbell_size  = 8,
4d663df6588709 Yong Zhao      2018-07-13  105  	.ih_ring_entry_size = 8 * sizeof(uint32_t),
4d663df6588709 Yong Zhao      2018-07-13  106  	.event_interrupt_class = &event_interrupt_class_v9,
4d663df6588709 Yong Zhao      2018-07-13  107  	.num_of_watch_points = 4,
4d663df6588709 Yong Zhao      2018-07-13  108  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
4d663df6588709 Yong Zhao      2018-07-13  109  	.supports_cwsr = true,
4d663df6588709 Yong Zhao      2018-07-13  110  	.needs_iommu_device = true,
4d663df6588709 Yong Zhao      2018-07-13  111  	.needs_pci_atomics = true,
4d663df6588709 Yong Zhao      2018-07-13  112  	.num_sdma_engines = 1,
1b4670f6983156 Oak Zeng       2019-02-07  113  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  114  	.num_sdma_queues_per_engine = 2,
4d663df6588709 Yong Zhao      2018-07-13  115  };
4a488a7ad71401 Oded Gabbay    2014-07-16  116  
a3084e6c522f94 Felix Kuehling 2018-01-04 @117  static const struct kfd_device_info hawaii_device_info = {
a3084e6c522f94 Felix Kuehling 2018-01-04  118  	.asic_family = CHIP_HAWAII,
c181159a5b1e1e Yong Zhao      2019-08-01  119  	.asic_name = "hawaii",
9d6fa9c7ff930d Graham Sider   2021-07-12  120  	.gfx_target_version = 70001,
a3084e6c522f94 Felix Kuehling 2018-01-04  121  	.max_pasid_bits = 16,
a3084e6c522f94 Felix Kuehling 2018-01-04  122  	/* max num of queues for KV.TODO should be a dynamic value */
a3084e6c522f94 Felix Kuehling 2018-01-04  123  	.max_no_of_hqd	= 24,
ada2b29c4a79ef Felix Kuehling 2018-04-10  124  	.doorbell_size  = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  125  	.ih_ring_entry_size = 4 * sizeof(uint32_t),
a3084e6c522f94 Felix Kuehling 2018-01-04  126  	.event_interrupt_class = &event_interrupt_class_cik,
a3084e6c522f94 Felix Kuehling 2018-01-04  127  	.num_of_watch_points = 4,
a3084e6c522f94 Felix Kuehling 2018-01-04  128  	.mqd_size_aligned = MQD_SIZE_ALIGNED,
a3084e6c522f94 Felix Kuehling 2018-01-04  129  	.supports_cwsr = false,
64d1c3a43a6fb5 Felix Kuehling 2017-12-08  130  	.needs_iommu_device = false,
a3084e6c522f94 Felix Kuehling 2018-01-04  131  	.needs_pci_atomics = false,
98bb92222eef6a Yong Zhao      2018-07-13  132  	.num_sdma_engines = 2,
1b4670f6983156 Oak Zeng       2019-02-07  133  	.num_xgmi_sdma_engines = 0,
d50941892ed9d1 Shaoyun Liu    2018-02-09  134  	.num_sdma_queues_per_engine = 2,
a3084e6c522f94 Felix Kuehling 2018-01-04  135  };
a3084e6c522f94 Felix Kuehling 2018-01-04  136  

:::::: The code at line 98 was first introduced by commit
:::::: 4d663df6588709e8763b976310117aa0f9825bc6 drm/amdkfd: Enable Raven for KFD

:::::: TO: Yong Zhao <Yong.Zhao@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: 31697 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-08 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08 11:15 [linux-next:master 5239/6929] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c:98:37: error: unused variable 'raven_device_info' 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).