From: kernel test robot <lkp@intel.com>
To: "sw.multimedia" <sw.multimedia@starfivetech.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Emil Renner Berthing <kernel@esmil.dk>,
"jack.zhu" <jack.zhu@starfivetech.com>,
"keith.zhao" <keith.zhao@starfivetech.com>
Subject: [esmil:visionfive 64/80] drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range'
Date: Wed, 19 Jan 2022 13:16:02 +0800 [thread overview]
Message-ID: <202201191349.mJZAPYfE-lkp@intel.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [esmil:visionfive 64/80] drivers/gpu/drm/starfive/starfive_drm_vpp.c:602:9: error: implicit declaration of function 'sifive_l2_flush64_range'
Date: Wed, 19 Jan 2022 13:16:02 +0800 [thread overview]
Message-ID: <202201191349.mJZAPYfE-lkp@intel.com> (raw)
[-- 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
next reply other threads:[~2022-01-19 5:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-19 5:16 kernel test robot [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202201191349.mJZAPYfE-lkp@intel.com \
--to=lkp@intel.com \
--cc=jack.zhu@starfivetech.com \
--cc=kbuild-all@lists.01.org \
--cc=keith.zhao@starfivetech.com \
--cc=kernel@esmil.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=sw.multimedia@starfivetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.