[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201811200414.IDMVjrzD%fengguang.wu@intel.com>
Date: Tue, 20 Nov 2018 04:15:59 +0800
From: kbuild test robot <lkp@...el.com>
To: Randy Li <ayaka@...lik.info>
Cc: kbuild-all@...org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, hjc@...k-chips.com, heiko@...ech.de,
airlied@...ux.ie, linux-rockchip@...ts.infradead.org,
ayaka <ayaka@...lik.info>
Subject: Re: [PATCH] drm/rockchip: support hwc layer
Hi ayaka,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on rockchip/for-next]
[also build test ERROR on v4.20-rc3 next-20181119]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Randy-Li/drm-rockchip-support-hwc-layer/20181119-173536
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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.2.0 make.cross ARCH=arm64
All errors (new ones prefixed by >>):
drivers/gpu//drm/rockchip/rockchip_drm_vop.c: In function 'is_yuv_10bit':
>> drivers/gpu//drm/rockchip/rockchip_drm_vop.c:229:7: error: 'DRM_FORMAT_NV12_10LE40' undeclared (first use in this function); did you mean 'DRM_FORMAT_NV12'?
case DRM_FORMAT_NV12_10LE40:
^~~~~~~~~~~~~~~~~~~~~~
DRM_FORMAT_NV12
drivers/gpu//drm/rockchip/rockchip_drm_vop.c:229:7: note: each undeclared identifier is reported only once for each function it appears in
At top level:
drivers/gpu//drm/rockchip/rockchip_drm_vop.c:226:13: warning: 'is_yuv_10bit' defined but not used [-Wunused-function]
static bool is_yuv_10bit (uint32_t format)
^~~~~~~~~~~~
vim +229 drivers/gpu//drm/rockchip/rockchip_drm_vop.c
225
226 static bool is_yuv_10bit (uint32_t format)
227 {
228 switch (format) {
> 229 case DRM_FORMAT_NV12_10LE40:
230 return true;
231 default:
232 return false;
233 };
234 }
235
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (40898 bytes)
Powered by blists - more mailing lists