All of lore.kernel.org
 help / color / mirror / Atom feed
* [esmil:visionfive 64/80] drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range'
@ 2022-01-19  5:16 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-19  5:16 UTC (permalink / raw)
  To: sw.multimedia
  Cc: kbuild-all, linux-kernel, Emil Renner Berthing, jack.zhu, keith.zhao

tree:   https://github.com/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 1eb3575230496368002bc06d59b7d219c09af47b [64/80] drm/starfive: Add StarFive drm driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220119/202201191349.mJZAPYfE-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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
        # https://github.com/esmil/linux/commit/1eb3575230496368002bc06d59b7d219c09af47b
        git remote add esmil https://github.com/esmil/linux
        git fetch --no-tags esmil visionfive
        git checkout 1eb3575230496368002bc06d59b7d219c09af47b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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 >>):

   drivers/gpu/drm/starfive/starfive_drm_vpp.c: In function 'vpp1_isr_handler':
>> drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range' [-Werror=implicit-function-declaration]
     602 |         sifive_l2_flush64_range(sf_crtc->dma_addr, sf_crtc->size);
         |         ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/starfive/starfive_drm_vpp.c:598:13: warning: variable 'intr_status' set but not used [-Wunused-but-set-variable]
     598 |         u32 intr_status = 0;
         |             ^~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/sifive_l2_flush64_range +602 drivers/gpu/drm/starfive/starfive_drm_vpp.c

   594	
   595	irqreturn_t vpp1_isr_handler(int this_irq, void *dev_id)
   596	{
   597		struct starfive_crtc *sf_crtc = dev_id;
   598		u32 intr_status = 0;
   599	
   600		intr_status = sf_fb_vppread32(sf_crtc, 1, PP_INT_STATUS);
   601		sf_fb_vppwrite32(sf_crtc, 1, PP_INT_CLR, 0xf);
 > 602		sifive_l2_flush64_range(sf_crtc->dma_addr, sf_crtc->size);
   603	
   604		return IRQ_HANDLED;
   605	}
   606	

---
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

* [esmil:visionfive 64/80] drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range'
@ 2022-01-19  5:16 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-19  5:16 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/esmil/linux visionfive
head:   e46c3a7e373e6faa03399f1a41c29cf7546c37cb
commit: 1eb3575230496368002bc06d59b7d219c09af47b [64/80] drm/starfive: Add StarFive drm driver
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220119/202201191349.mJZAPYfE-lkp(a)intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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
        # https://github.com/esmil/linux/commit/1eb3575230496368002bc06d59b7d219c09af47b
        git remote add esmil https://github.com/esmil/linux
        git fetch --no-tags esmil visionfive
        git checkout 1eb3575230496368002bc06d59b7d219c09af47b
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc 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 >>):

   drivers/gpu/drm/starfive/starfive_drm_vpp.c: In function 'vpp1_isr_handler':
>> drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range' [-Werror=implicit-function-declaration]
     602 |         sifive_l2_flush64_range(sf_crtc->dma_addr, sf_crtc->size);
         |         ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/starfive/starfive_drm_vpp.c:598:13: warning: variable 'intr_status' set but not used [-Wunused-but-set-variable]
     598 |         u32 intr_status = 0;
         |             ^~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/sifive_l2_flush64_range +602 drivers/gpu/drm/starfive/starfive_drm_vpp.c

   594	
   595	irqreturn_t vpp1_isr_handler(int this_irq, void *dev_id)
   596	{
   597		struct starfive_crtc *sf_crtc = dev_id;
   598		u32 intr_status = 0;
   599	
   600		intr_status = sf_fb_vppread32(sf_crtc, 1, PP_INT_STATUS);
   601		sf_fb_vppwrite32(sf_crtc, 1, PP_INT_CLR, 0xf);
 > 602		sifive_l2_flush64_range(sf_crtc->dma_addr, sf_crtc->size);
   603	
   604		return IRQ_HANDLED;
   605	}
   606	

---
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-19  5:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19  5:16 [esmil:visionfive 64/80] drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range' kernel test robot
2022-01-19  5:16 ` 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.