[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201191349.mJZAPYfE-lkp@intel.com>
Date: Wed, 19 Jan 2022 13:16:02 +0800
From: kernel test robot <lkp@...el.com>
To: "sw.multimedia" <sw.multimedia@...rfivetech.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Emil Renner Berthing <kernel@...il.dk>,
"jack.zhu" <jack.zhu@...rfivetech.com>,
"keith.zhao" <keith.zhao@...rfivetech.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'
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@...el.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
Powered by blists - more mailing lists