Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [drm-xe:drm-xe-next 2/3] drivers/gpu/drm/xe/xe_ggtt.c:78:9: error: implicit declaration of function 'writeq'; did you mean 'writel'?
@ 2024-02-24 11:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-24 11:49 UTC (permalink / raw)
  To: Matthew Brost; +Cc: oe-kbuild-all, intel-xe, Rodrigo Vivi

tree:   https://gitlab.freedesktop.org/drm/xe/kernel.git drm-xe-next
head:   a9e483dda3efa5b9aae5d9eef94d2c3a878d9bea
commit: 3121fed0c51beb8ea7b18ab2ceff1ac9e358ac53 [2/3] drm/xe: Cleanup some layering in GGTT
config: microblaze-allmodconfig (https://download.01.org/0day-ci/archive/20240224/202402241903.R5J8hKVI-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240224/202402241903.R5J8hKVI-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402241903.R5J8hKVI-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/gpu/drm/xe/xe_ggtt.c: In function 'xe_ggtt_set_pte':
>> drivers/gpu/drm/xe/xe_ggtt.c:78:9: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
      78 |         writeq(pte, &ggtt->gsm[addr >> XE_PTE_SHIFT]);
         |         ^~~~~~
         |         writel
   cc1: some warnings being treated as errors


vim +78 drivers/gpu/drm/xe/xe_ggtt.c

dd08ebf6c3525a Matthew Brost   2023-03-30  72  
dd08ebf6c3525a Matthew Brost   2023-03-30  73  void xe_ggtt_set_pte(struct xe_ggtt *ggtt, u64 addr, u64 pte)
dd08ebf6c3525a Matthew Brost   2023-03-30  74  {
c73acc1eeba5e3 Francois Dugast 2023-09-12  75  	xe_tile_assert(ggtt->tile, !(addr & XE_PTE_MASK));
c73acc1eeba5e3 Francois Dugast 2023-09-12  76  	xe_tile_assert(ggtt->tile, addr < ggtt->size);
dd08ebf6c3525a Matthew Brost   2023-03-30  77  
58e19acf0cdf3f Lucas De Marchi 2023-04-12 @78  	writeq(pte, &ggtt->gsm[addr >> XE_PTE_SHIFT]);
dd08ebf6c3525a Matthew Brost   2023-03-30  79  }
dd08ebf6c3525a Matthew Brost   2023-03-30  80  

:::::: The code at line 78 was first introduced by commit
:::::: 58e19acf0cdf3f18c1c868165f45d3ea626b9c3f drm/xe: Cleanup page-related defines

:::::: TO: Lucas De Marchi <lucas.demarchi@intel.com>
:::::: CC: Rodrigo Vivi <rodrigo.vivi@intel.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2024-02-24 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-24 11:49 [drm-xe:drm-xe-next 2/3] drivers/gpu/drm/xe/xe_ggtt.c:78:9: error: implicit declaration of function 'writeq'; did you mean 'writel'? 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