All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Kalyan Thota <kalyan_t@codeaurora.org>
Cc: kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org,
	linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org,
	devicetree@vger.kernel.org,
	Kalyan Thota <kalyan_t@codeaurora.org>,
	linux-kernel@vger.kernel.org, robdclark@gmail.com,
	seanpaul@chromium.org, hoegsberg@chromium.org,
	dhar@codeaurora.org, jsanka@codeaurora.org,
	chandanu@codeaurora.org, travitej@codeaurora.org,
	nganji@codeaurora.org
Subject: Re: [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target
Date: Tue, 19 Nov 2019 09:23:33 +0800	[thread overview]
Message-ID: <201911190932.SLw5NfPo%lkp@intel.com> (raw)
In-Reply-To: <1574077444-24554-2-git-send-email-kalyan_t@codeaurora.org>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35180 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dhar-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	kbuild-all-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org,
	travitej-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	nganji-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	seanpaul-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
	Kalyan Thota <kalyan_t-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	hoegsberg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
	freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	jsanka-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org,
	chandanu-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org
Subject: Re: [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target
Date: Tue, 19 Nov 2019 09:23:33 +0800	[thread overview]
Message-ID: <201911190932.SLw5NfPo%lkp@intel.com> (raw)
In-Reply-To: <1574077444-24554-2-git-send-email-kalyan_t-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>

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

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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

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-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35180 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Kalyan Thota <kalyan_t@codeaurora.org>
Cc: devicetree@vger.kernel.org, dhar@codeaurora.org,
	kbuild-all@lists.01.org, travitej@codeaurora.org,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org, seanpaul@chromium.org,
	Kalyan Thota <kalyan_t@codeaurora.org>,
	hoegsberg@chromium.org, freedreno@lists.freedesktop.org,
	chandanu@codeaurora.org
Subject: Re: [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target
Date: Tue, 19 Nov 2019 09:23:33 +0800	[thread overview]
Message-ID: <201911190932.SLw5NfPo%lkp@intel.com> (raw)
Message-ID: <20191119012333.Hwc-8-07CZWpuE-9ds7JSqEkB6YY9wlFOAaEb2ddzhs@z> (raw)
In-Reply-To: <1574077444-24554-2-git-send-email-kalyan_t@codeaurora.org>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35180 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target
Date: Tue, 19 Nov 2019 09:23:33 +0800	[thread overview]
Message-ID: <201911190932.SLw5NfPo%lkp@intel.com> (raw)
In-Reply-To: <1574077444-24554-2-git-send-email-kalyan_t@codeaurora.org>

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

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@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(a)lists.01.org Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35180 bytes --]

  parent reply	other threads:[~2019-11-19  1:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-18 11:44 [PATCH v1] msm:disp:dpu1: setup display datapath for SC7180 target Kalyan Thota
2019-11-18 11:44 ` Kalyan Thota
2019-11-18 11:44 ` Kalyan Thota
2019-11-18 11:44 ` Kalyan Thota
2019-11-18 11:44   ` Kalyan Thota
2019-11-18 11:44   ` Kalyan Thota
2019-11-18 17:08   ` Rob Clark
2019-11-18 17:08     ` Rob Clark
2019-11-18 17:08     ` Rob Clark
2019-11-19  1:23   ` kbuild test robot [this message]
2019-11-19  1:23     ` kbuild test robot
2019-11-19  1:23     ` kbuild test robot
2019-11-19  1:23     ` kbuild 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=201911190932.SLw5NfPo%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chandanu@codeaurora.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dhar@codeaurora.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=freedreno@lists.freedesktop.org \
    --cc=hoegsberg@chromium.org \
    --cc=jsanka@codeaurora.org \
    --cc=kalyan_t@codeaurora.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nganji@codeaurora.org \
    --cc=robdclark@gmail.com \
    --cc=seanpaul@chromium.org \
    --cc=travitej@codeaurora.org \
    /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.