* [drm-intel:drm-intel-next-queued 1/7] drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page'
@ 2020-06-05 19:54 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-06-05 19:54 UTC (permalink / raw)
To: Chris Wilson
Cc: clang-built-linux, intel-gfx, kbuild-all, Matthew Auld, dri-devel
[-- Attachment #1: Type: text/plain, Size: 4318 bytes --]
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head: 84d24cb5247a356a4310a25761f8aa56b8814538
commit: 9e0f9464e2ab36b864359a59b0e9058fdef0ce47 [1/7] drm/i915/gem: Async GPU relocations only
config: x86_64-randconfig-a011-20200605 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 6dd738e2f0609f7d3313b574a1d471263d2d3ba1)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 9e0f9464e2ab36b864359a59b0e9058fdef0ce47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>, old ones prefixed by <<):
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' [-Werror,-Wunused-function]
static inline void *unmask_page(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:938:28: error: unused function 'unmask_flags' [-Werror,-Wunused-function]
static inline unsigned int unmask_flags(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:945:33: error: unused function 'cache_to_ggtt' [-Werror,-Wunused-function]
static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
^
3 errors generated.
vim +/unmask_page +933 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
5032d871f7d300 drivers/gpu/drm/i915/i915_gem_execbuffer.c Rafael Barbalho 2013-08-21 932
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @933 static inline void *unmask_page(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 934 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 935 return (void *)(uintptr_t)(p & PAGE_MASK);
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 936 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 937
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @938 static inline unsigned int unmask_flags(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 939 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 940 return p & ~PAGE_MASK;
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 941 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 942
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 943 #define KMAP 0x4 /* after CLFLUSH_FLAGS */
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 944
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 @945 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 946 {
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 947 struct drm_i915_private *i915 =
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 948 container_of(cache, struct i915_execbuffer, reloc_cache)->i915;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 949 return &i915->ggtt;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 950 }
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 951
:::::: The code at line 933 was first introduced by commit
:::::: d50415cc6c8395602052b39a1a39290fba3d313e drm/i915: Refactor execbuffer relocation writing
:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris@chris-wilson.co.uk>
---
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: 34036 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Intel-gfx] [drm-intel:drm-intel-next-queued 1/7] drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page'
@ 2020-06-05 19:54 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-06-05 19:54 UTC (permalink / raw)
To: Chris Wilson
Cc: clang-built-linux, intel-gfx, kbuild-all, Matthew Auld, dri-devel
[-- Attachment #1: Type: text/plain, Size: 4318 bytes --]
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head: 84d24cb5247a356a4310a25761f8aa56b8814538
commit: 9e0f9464e2ab36b864359a59b0e9058fdef0ce47 [1/7] drm/i915/gem: Async GPU relocations only
config: x86_64-randconfig-a011-20200605 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 6dd738e2f0609f7d3313b574a1d471263d2d3ba1)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 9e0f9464e2ab36b864359a59b0e9058fdef0ce47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>, old ones prefixed by <<):
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' [-Werror,-Wunused-function]
static inline void *unmask_page(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:938:28: error: unused function 'unmask_flags' [-Werror,-Wunused-function]
static inline unsigned int unmask_flags(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:945:33: error: unused function 'cache_to_ggtt' [-Werror,-Wunused-function]
static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
^
3 errors generated.
vim +/unmask_page +933 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
5032d871f7d300 drivers/gpu/drm/i915/i915_gem_execbuffer.c Rafael Barbalho 2013-08-21 932
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @933 static inline void *unmask_page(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 934 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 935 return (void *)(uintptr_t)(p & PAGE_MASK);
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 936 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 937
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @938 static inline unsigned int unmask_flags(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 939 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 940 return p & ~PAGE_MASK;
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 941 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 942
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 943 #define KMAP 0x4 /* after CLFLUSH_FLAGS */
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 944
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 @945 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 946 {
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 947 struct drm_i915_private *i915 =
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 948 container_of(cache, struct i915_execbuffer, reloc_cache)->i915;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 949 return &i915->ggtt;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 950 }
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 951
:::::: The code at line 933 was first introduced by commit
:::::: d50415cc6c8395602052b39a1a39290fba3d313e drm/i915: Refactor execbuffer relocation writing
:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris@chris-wilson.co.uk>
---
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: 34036 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 3+ messages in thread
* [drm-intel:drm-intel-next-queued 1/7] drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page'
@ 2020-06-05 19:54 ` kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-06-05 19:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4382 bytes --]
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
head: 84d24cb5247a356a4310a25761f8aa56b8814538
commit: 9e0f9464e2ab36b864359a59b0e9058fdef0ce47 [1/7] drm/i915/gem: Async GPU relocations only
config: x86_64-randconfig-a011-20200605 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 6dd738e2f0609f7d3313b574a1d471263d2d3ba1)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 9e0f9464e2ab36b864359a59b0e9058fdef0ce47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 >>, old ones prefixed by <<):
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' [-Werror,-Wunused-function]
static inline void *unmask_page(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:938:28: error: unused function 'unmask_flags' [-Werror,-Wunused-function]
static inline unsigned int unmask_flags(unsigned long p)
^
>> drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:945:33: error: unused function 'cache_to_ggtt' [-Werror,-Wunused-function]
static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
^
3 errors generated.
vim +/unmask_page +933 drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
5032d871f7d300 drivers/gpu/drm/i915/i915_gem_execbuffer.c Rafael Barbalho 2013-08-21 932
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @933 static inline void *unmask_page(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 934 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 935 return (void *)(uintptr_t)(p & PAGE_MASK);
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 936 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 937
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 @938 static inline unsigned int unmask_flags(unsigned long p)
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 939 {
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 940 return p & ~PAGE_MASK;
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 941 }
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 942
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 943 #define KMAP 0x4 /* after CLFLUSH_FLAGS */
d50415cc6c8395 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2016-08-18 944
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 @945 static inline struct i915_ggtt *cache_to_ggtt(struct reloc_cache *cache)
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 946 {
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 947 struct drm_i915_private *i915 =
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 948 container_of(cache, struct i915_execbuffer, reloc_cache)->i915;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 949 return &i915->ggtt;
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 950 }
650bc63568e421 drivers/gpu/drm/i915/i915_gem_execbuffer.c Chris Wilson 2017-06-15 951
:::::: The code at line 933 was first introduced by commit
:::::: d50415cc6c8395602052b39a1a39290fba3d313e drm/i915: Refactor execbuffer relocation writing
:::::: TO: Chris Wilson <chris@chris-wilson.co.uk>
:::::: CC: Chris Wilson <chris@chris-wilson.co.uk>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34036 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-06-05 19:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 19:54 [drm-intel:drm-intel-next-queued 1/7] drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:933:21: error: unused function 'unmask_page' kernel test robot
2020-06-05 19:54 ` kernel test robot
2020-06-05 19:54 ` [Intel-gfx] " 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.