[arm-platforms:irq/domain_cleanup 31/31] drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c:54:14: error: 'mapping' undeclared
From: kernel test robot <hidden>
Date: 2021-05-16 00:37:21
Also in:
oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup head: 98b44e2b2b00423e554aa8d9261f6f6749997a03 commit: 98b44e2b2b00423e554aa8d9261f6f6749997a03 [31/31] gpu: Bulk conversion to generic_handle_domain_irq() config: arm-defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=98b44e2b2b00423e554aa8d9261f6f6749997a03 git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git git fetch --no-tags arm-platforms irq/domain_cleanup git checkout 98b44e2b2b00423e554aa8d9261f6f6749997a03 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/drm/drm_gem.h:40, from drivers/gpu/drm/msm/msm_drv.h:34, from drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h:15, from drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c:10: drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c: In function 'dpu_mdss_irq':
quoted
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c:54:14: error: 'mapping' undeclared (first use in this function)
54 | hwirq, mapping, rc);
| ^~~~~~~
include/drm/drm_print.h:498:19: note: in definition of macro 'DRM_ERROR'
498 | __drm_err(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c:54:14: note: each undeclared identifier is reported only once for each function it appears in
54 | hwirq, mapping, rc);
| ^~~~~~~
include/drm/drm_print.h:498:19: note: in definition of macro 'DRM_ERROR'
498 | __drm_err(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
vim +/mapping +54 drivers/gpu/drm/msm/disp/dpu1/dpu_mdss.c
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 35
070e64dc1bbc87 Stephen Boyd 2019-01-03 36 static void dpu_mdss_irq(struct irq_desc *desc)
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 37 {
070e64dc1bbc87 Stephen Boyd 2019-01-03 38 struct dpu_mdss *dpu_mdss = irq_desc_get_handler_data(desc);
070e64dc1bbc87 Stephen Boyd 2019-01-03 39 struct irq_chip *chip = irq_desc_get_chip(desc);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 40 u32 interrupts;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 41
070e64dc1bbc87 Stephen Boyd 2019-01-03 42 chained_irq_enter(chip, desc);
070e64dc1bbc87 Stephen Boyd 2019-01-03 43
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 44 interrupts = readl_relaxed(dpu_mdss->mmio + HW_INTR_STATUS);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 45
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 46 while (interrupts) {
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 47 irq_hw_number_t hwirq = fls(interrupts) - 1;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 48 int rc;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 49
98b44e2b2b0042 Marc Zyngier 2021-05-04 50 rc = generic_handle_domain_irq(dpu_mdss->irq_controller.domain,
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 51 hwirq);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 52 if (rc < 0) {
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 53 DRM_ERROR("handle irq fail: irq=%lu mapping=%u rc=%d\n",
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 @54 hwirq, mapping, rc);
070e64dc1bbc87 Stephen Boyd 2019-01-03 55 break;
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 56 }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 57
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 58 interrupts &= ~(1 << hwirq);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 59 }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 60
070e64dc1bbc87 Stephen Boyd 2019-01-03 61 chained_irq_exit(chip, desc);
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 62 }
25fdd5933e4c0f Jeykumar Sankaran 2018-06-27 63
:::::: The code at line 54 was first introduced by commit
:::::: 25fdd5933e4c0f5fe2ea5cd59994f8ac5fbe90ef drm/msm: Add SDM845 DPU support
:::::: TO: Jeykumar Sankaran [off-list ref]
:::::: CC: Sean Paul [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 54729 bytes
- (unnamed) [text/plain] 176 bytes · preview