[PATCH] drm/rockchip: support hwc layer

kbuild test robot lkp at intel.com
Mon Nov 19 20:15:59 UTC 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 40898 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20181120/42cef937/attachment-0001.gz>


More information about the dri-devel mailing list