[Freedreno] [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target

kbuild test robot lkp at intel.com
Tue Nov 19 01:23:33 UTC 2019


Hi Kalyan,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tegra-drm/drm/tegra/for-next]
[cannot apply to v5.4-rc8 next-20191118]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Kalyan-Thota/msm-disp-dpu1-setup-display-datapath-for-SC7180-target/20191118-231647
base:   git://anongit.freedesktop.org/tegra/linux.git drm/tegra/for-next
config: arm64-randconfig-a001-20191118 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/bitops.h:5:0,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:19,
                    from arch/arm64/include/asm/bug.h:26,
                    from include/linux/bug.h:5,
                    from include/linux/mmdebug.h:5,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:15,
                    from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:6:
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:281:18: error: 'DPU_CTL_ACTIVE_CFG' undeclared here (not in a function); did you mean 'DPU_CTL_MODE_SEL_CMD'?
     .features = BIT(DPU_CTL_ACTIVE_CFG), \
                     ^
   include/linux/bits.h:8:30: note: in definition of macro 'BIT'
    #define BIT(nr)   (UL(1) << (nr))
                                 ^~
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c:288:2: note: in expansion of macro 'INTF_BLK'
     INTF_BLK("intf_0", INTF_0, 0x6A000, INTF_DP, 0),
     ^~~~~~~~
--
   In file included from include/linux/bitops.h:5:0,
                    from include/linux/kernel.h:12,
                    from include/linux/delay.h:22,
                    from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:5:
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c: In function '_setup_ctl_ops':
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:526:16: error: 'DPU_CTL_ACTIVE_CFG' undeclared (first use in this function); did you mean 'DPU_CTL_MODE_SEL_CMD'?
     if (cap & BIT(DPU_CTL_ACTIVE_CFG)) {
                   ^
   include/linux/bits.h:8:30: note: in definition of macro 'BIT'
    #define BIT(nr)   (UL(1) << (nr))
                                 ^~
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_ctl.c:526:16: note: each undeclared identifier is reported only once for each function it appears in
     if (cap & BIT(DPU_CTL_ACTIVE_CFG)) {
                   ^
   include/linux/bits.h:8:30: note: in definition of macro 'BIT'
    #define BIT(nr)   (UL(1) << (nr))
                                 ^~
--
   In file included from include/linux/bitops.h:5:0,
                    from include/linux/kernel.h:12,
                    from include/asm-generic/bug.h:19,
                    from arch/arm64/include/asm/bug.h:26,
                    from include/linux/bug.h:5,
                    from include/linux/io.h:11,
                    from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h:8,
                    from drivers/gpu/drm/msm/disp/dpu1/dpu_hwio.h:8,
                    from drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c:5:
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c: In function '_setup_intf_ops':
>> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c:283:16: error: 'DPU_CTL_ACTIVE_CFG' undeclared (first use in this function); did you mean 'DPU_CTL_MODE_SEL_CMD'?
     if (cap & BIT(DPU_CTL_ACTIVE_CFG))
                   ^
   include/linux/bits.h:8:30: note: in definition of macro 'BIT'
    #define BIT(nr)   (UL(1) << (nr))
                                 ^~
   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c:283:16: note: each undeclared identifier is reported only once for each function it appears in
     if (cap & BIT(DPU_CTL_ACTIVE_CFG))
                   ^
   include/linux/bits.h:8:30: note: in definition of macro 'BIT'
    #define BIT(nr)   (UL(1) << (nr))
                                 ^~

vim +281 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

   273	
   274	/*************************************************************
   275	 * INTF sub blocks config
   276	 *************************************************************/
   277	#define INTF_BLK(_name, _id, _base, _type, _ctrl_id) \
   278		{\
   279		.name = _name, .id = _id, \
   280		.base = _base, .len = 0x280, \
 > 281		.features = BIT(DPU_CTL_ACTIVE_CFG), \
   282		.type = _type, \
   283		.controller_id = _ctrl_id, \
   284		.prog_fetch_lines_worst_case = 24 \
   285		}
   286	
   287	static struct dpu_intf_cfg sdm845_intf[] = {
 > 288		INTF_BLK("intf_0", INTF_0, 0x6A000, INTF_DP, 0),
   289		INTF_BLK("intf_1", INTF_1, 0x6A800, INTF_DSI, 0),
   290		INTF_BLK("intf_2", INTF_2, 0x6B000, INTF_DSI, 1),
   291		INTF_BLK("intf_3", INTF_3, 0x6B800, INTF_DP, 1),
   292	};
   293	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35180 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/freedreno/attachments/20191119/053d1ad6/attachment-0001.gz>


More information about the Freedreno mailing list