[PATCH v3 6/9] drm/exynos: fimc: Convert driver to IPP v2 core API

kbuild test robot lkp at intel.com
Wed Oct 18 10:34:27 UTC 2017


Hi Marek,

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.14-rc5 next-20171017]
[cannot apply to drm-exynos/exynos-drm/for-next]
[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/Marek-Szyprowski/Exynos-DRM-rewrite-IPP-subsystem-and-userspace-API/20171017-211928
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        make.cross ARCH=arm 

Note: the linux-review/Marek-Szyprowski/Exynos-DRM-rewrite-IPP-subsystem-and-userspace-API/20171017-211928 HEAD 57651df66b6c59b10ecb5e6a2048c05cc273afa9 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/exynos/exynos_drm_fimc.c:1255:4: error: implicit declaration of function 'IPP_SCALE_LIMIT' [-Werror=implicit-function-declaration]
     { IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
       ^~~~~~~~~~~~~~~
>> drivers/gpu/drm/exynos/exynos_drm_fimc.c:1255:20: error: expected expression before '.' token
     { IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
                       ^
   drivers/gpu/drm/exynos/exynos_drm_fimc.c:1264:20: error: expected expression before '.' token
     { IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
                       ^
>> drivers/gpu/drm/exynos/exynos_drm_fimc.c:1264:20: error: '(const struct drm_exynos_ipp_limit *)&<erroneous-expression>' is a pointer; did you mean to use '->'?
>> drivers/gpu/drm/exynos/exynos_drm_fimc.c:1264:4: error: initializer element is not constant
     { IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
       ^~~~~~~~~~~~~~~
   drivers/gpu/drm/exynos/exynos_drm_fimc.c:1264:4: note: (near initialization for 'fimc_4210_limits_v2[3].type')
   cc1: some warnings being treated as errors

vim +/IPP_SCALE_LIMIT +1255 drivers/gpu/drm/exynos/exynos_drm_fimc.c

  1250	
  1251	static const struct drm_exynos_ipp_limit fimc_4210_limits_v1[] = {
  1252		{ IPP_SIZE_LIMIT(BUFFER, .h = {32, 8192, 8}, .v = {32, 8192, 2}) },
  1253		{ IPP_SIZE_LIMIT(AREA, .h = {32, 4224, 2}, .v = {32, 0, 2}) },
  1254		{ IPP_SIZE_LIMIT(ROTATED, .h = {128, 1920}, .v = {128, 0}) },
> 1255		{ IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
  1256				  .v = { (1 << 16) / 64, (1 << 16) * 64}) },
  1257		{ }
  1258	};
  1259	
  1260	static const struct drm_exynos_ipp_limit fimc_4210_limits_v2[] = {
  1261		{ IPP_SIZE_LIMIT(BUFFER, .h = {32, 8192, 8}, .v = {32, 8192, 2}) },
  1262		{ IPP_SIZE_LIMIT(AREA, .h = {32, 1920, 2}, .v = {32, 0, 2}) },
  1263		{ IPP_SIZE_LIMIT(ROTATED, .h = {128, 1366}, .v = {128, 0}) },
> 1264		{ IPP_SCALE_LIMIT(.h = { (1 << 16) / 64, (1 << 16) * 64},
  1265				  .v = { (1 << 16) / 64, (1 << 16) * 64}) },
  1266		{ }
  1267	};
  1268	

---
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: 63342 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171018/cfbdc666/attachment-0001.gz>


More information about the dri-devel mailing list