* [mlankhorst:xe 161/165] drivers/gpu/drm/xe/xe_ggtt.c:138:6: error: no previous prototype for 'xe_ggtt_invalidate'
@ 2022-01-27 11:37 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-27 11:37 UTC (permalink / raw)
To: Jason Ekstrand; +Cc: kbuild-all, linux-kernel, Maarten Lankhorst
tree: git://people.freedesktop.org/~mlankhorst/linux xe
head: 4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 97b49f6fa009a5e8c280503c7f33fedb5d3ddf25 [161/165] xe/ggtt: Invalidate the GGTT TLBs after any updates
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220127/202201271930.2Cnt0yRu-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
git fetch --no-tags mlankhorst xe
git checkout 97b49f6fa009a5e8c280503c7f33fedb5d3ddf25
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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 >>):
In file included from drivers/gpu/drm/xe/xe_ggtt.c:14:
drivers/gpu/drm/xe/xe_mmio.h: In function 'xe_mmio_read64':
drivers/gpu/drm/xe/xe_mmio.h:28:9: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
28 | return readq(xe->mmio.regs + reg);
| ^~~~~
| readl
drivers/gpu/drm/xe/xe_ggtt.c: In function 'xe_ggtt_set_pte':
drivers/gpu/drm/xe/xe_ggtt.c:55:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
55 | writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
| ^~~~~~
| writel
drivers/gpu/drm/xe/xe_ggtt.c: At top level:
>> drivers/gpu/drm/xe/xe_ggtt.c:138:6: error: no previous prototype for 'xe_ggtt_invalidate' [-Werror=missing-prototypes]
138 | void xe_ggtt_invalidate(struct xe_device *xe)
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/xe_ggtt_invalidate +138 drivers/gpu/drm/xe/xe_ggtt.c
137
> 138 void xe_ggtt_invalidate(struct xe_device *xe)
139 {
140 /* TODO: For GuC, we need to do something different here */
141
142 /* TODO: i915 makes comments about this being uncached and
143 * therefore flushing WC buffers. Is that really true here?
144 */
145 xe_mmio_write32(xe, GFX_FLSH_CNTL_GEN6.reg, GFX_FLSH_CNTL_EN);
146 }
147
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [mlankhorst:xe 161/165] drivers/gpu/drm/xe/xe_ggtt.c:138:6: error: no previous prototype for 'xe_ggtt_invalidate'
@ 2022-01-27 11:37 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-27 11:37 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2476 bytes --]
tree: git://people.freedesktop.org/~mlankhorst/linux xe
head: 4bc3039b4403c76a13d58f7ac1f7c07dca6f88d8
commit: 97b49f6fa009a5e8c280503c7f33fedb5d3ddf25 [161/165] xe/ggtt: Invalidate the GGTT TLBs after any updates
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220127/202201271930.2Cnt0yRu-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add mlankhorst git://people.freedesktop.org/~mlankhorst/linux
git fetch --no-tags mlankhorst xe
git checkout 97b49f6fa009a5e8c280503c7f33fedb5d3ddf25
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
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 >>):
In file included from drivers/gpu/drm/xe/xe_ggtt.c:14:
drivers/gpu/drm/xe/xe_mmio.h: In function 'xe_mmio_read64':
drivers/gpu/drm/xe/xe_mmio.h:28:9: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
28 | return readq(xe->mmio.regs + reg);
| ^~~~~
| readl
drivers/gpu/drm/xe/xe_ggtt.c: In function 'xe_ggtt_set_pte':
drivers/gpu/drm/xe/xe_ggtt.c:55:2: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
55 | writeq(pte, &ggtt->gsm[addr >> GEN8_PTE_SHIFT]);
| ^~~~~~
| writel
drivers/gpu/drm/xe/xe_ggtt.c: At top level:
>> drivers/gpu/drm/xe/xe_ggtt.c:138:6: error: no previous prototype for 'xe_ggtt_invalidate' [-Werror=missing-prototypes]
138 | void xe_ggtt_invalidate(struct xe_device *xe)
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/xe_ggtt_invalidate +138 drivers/gpu/drm/xe/xe_ggtt.c
137
> 138 void xe_ggtt_invalidate(struct xe_device *xe)
139 {
140 /* TODO: For GuC, we need to do something different here */
141
142 /* TODO: i915 makes comments about this being uncached and
143 * therefore flushing WC buffers. Is that really true here?
144 */
145 xe_mmio_write32(xe, GFX_FLSH_CNTL_GEN6.reg, GFX_FLSH_CNTL_EN);
146 }
147
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-27 11:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 11:37 [mlankhorst:xe 161/165] drivers/gpu/drm/xe/xe_ggtt.c:138:6: error: no previous prototype for 'xe_ggtt_invalidate' kernel test robot
2022-01-27 11:37 ` kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.