[radeon-alex:drm-next-4.8-wip-si 79/92] drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:1587:40: error: 'EVERGREEN_GRPH_ENDIAN_8IN16' undeclared
kbuild test robot
fengguang.wu at intel.com
Sat May 21 00:56:58 UTC 2016
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.8-wip-si
head: a34f9def0cb7b66d510d6aff215c465e050767bf
commit: 76aefbddf9ff2cd227b9efa6e9b9d60ea1b9d387 [79/92] drm/amdgpu: add all the components for si into Makefile/kconfig v3
config: s390-allmodconfig (attached as .config)
compiler: s390x-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 76aefbddf9ff2cd227b9efa6e9b9d60ea1b9d387
# save the attached .config to linux build tree
make.cross ARCH=s390
Note: the radeon-alex/drm-next-4.8-wip-si HEAD a34f9def0cb7b66d510d6aff215c465e050767bf builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:34:0:
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c: In function 'dce_v6_0_crtc_do_set_base':
>> drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:1587:40: error: 'EVERGREEN_GRPH_ENDIAN_8IN16' undeclared (first use in this function)
fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
^
drivers/gpu/drm/amd/amdgpu/../include/asic_reg/si/sid.h:2154:53: note: in definition of macro 'EVERGREEN_GRPH_ENDIAN_SWAP'
#define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0)
^
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:1587:40: note: each undeclared identifier is reported only once for each function it appears in
fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
^
drivers/gpu/drm/amd/amdgpu/../include/asic_reg/si/sid.h:2154:53: note: in definition of macro 'EVERGREEN_GRPH_ENDIAN_SWAP'
#define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0)
^
>> drivers/gpu/drm/amd/amdgpu/dce_v6_0.c:1618:40: error: 'EVERGREEN_GRPH_ENDIAN_8IN32' undeclared (first use in this function)
fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN32);
^
drivers/gpu/drm/amd/amdgpu/../include/asic_reg/si/sid.h:2154:53: note: in definition of macro 'EVERGREEN_GRPH_ENDIAN_SWAP'
#define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0)
^
vim +/EVERGREEN_GRPH_ENDIAN_8IN16 +1587 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
433deb6c Ken Wang 2016-01-19 1581 break;
433deb6c Ken Wang 2016-01-19 1582 case DRM_FORMAT_XRGB4444:
433deb6c Ken Wang 2016-01-19 1583 case DRM_FORMAT_ARGB4444:
433deb6c Ken Wang 2016-01-19 1584 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) |
433deb6c Ken Wang 2016-01-19 1585 EVERGREEN_GRPH_FORMAT(EVERGREEN_GRPH_FORMAT_ARGB4444));
433deb6c Ken Wang 2016-01-19 1586 #ifdef __BIG_ENDIAN
433deb6c Ken Wang 2016-01-19 @1587 fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
433deb6c Ken Wang 2016-01-19 1588 #endif
433deb6c Ken Wang 2016-01-19 1589 break;
433deb6c Ken Wang 2016-01-19 1590 case DRM_FORMAT_XRGB1555:
433deb6c Ken Wang 2016-01-19 1591 case DRM_FORMAT_ARGB1555:
433deb6c Ken Wang 2016-01-19 1592 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) |
433deb6c Ken Wang 2016-01-19 1593 EVERGREEN_GRPH_FORMAT(EVERGREEN_GRPH_FORMAT_ARGB1555));
433deb6c Ken Wang 2016-01-19 1594 #ifdef __BIG_ENDIAN
433deb6c Ken Wang 2016-01-19 1595 fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
433deb6c Ken Wang 2016-01-19 1596 #endif
433deb6c Ken Wang 2016-01-19 1597 break;
433deb6c Ken Wang 2016-01-19 1598 case DRM_FORMAT_BGRX5551:
433deb6c Ken Wang 2016-01-19 1599 case DRM_FORMAT_BGRA5551:
433deb6c Ken Wang 2016-01-19 1600 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) |
433deb6c Ken Wang 2016-01-19 1601 EVERGREEN_GRPH_FORMAT(EVERGREEN_GRPH_FORMAT_BGRA5551));
433deb6c Ken Wang 2016-01-19 1602 #ifdef __BIG_ENDIAN
433deb6c Ken Wang 2016-01-19 1603 fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
433deb6c Ken Wang 2016-01-19 1604 #endif
433deb6c Ken Wang 2016-01-19 1605 break;
433deb6c Ken Wang 2016-01-19 1606 case DRM_FORMAT_RGB565:
433deb6c Ken Wang 2016-01-19 1607 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_16BPP) |
433deb6c Ken Wang 2016-01-19 1608 EVERGREEN_GRPH_FORMAT(EVERGREEN_GRPH_FORMAT_ARGB565));
433deb6c Ken Wang 2016-01-19 1609 #ifdef __BIG_ENDIAN
433deb6c Ken Wang 2016-01-19 1610 fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN16);
433deb6c Ken Wang 2016-01-19 1611 #endif
433deb6c Ken Wang 2016-01-19 1612 break;
433deb6c Ken Wang 2016-01-19 1613 case DRM_FORMAT_XRGB8888:
433deb6c Ken Wang 2016-01-19 1614 case DRM_FORMAT_ARGB8888:
433deb6c Ken Wang 2016-01-19 1615 fb_format = (EVERGREEN_GRPH_DEPTH(EVERGREEN_GRPH_DEPTH_32BPP) |
433deb6c Ken Wang 2016-01-19 1616 EVERGREEN_GRPH_FORMAT(EVERGREEN_GRPH_FORMAT_ARGB8888));
433deb6c Ken Wang 2016-01-19 1617 #ifdef __BIG_ENDIAN
433deb6c Ken Wang 2016-01-19 @1618 fb_swap = EVERGREEN_GRPH_ENDIAN_SWAP(EVERGREEN_GRPH_ENDIAN_8IN32);
433deb6c Ken Wang 2016-01-19 1619 #endif
433deb6c Ken Wang 2016-01-19 1620 break;
433deb6c Ken Wang 2016-01-19 1621 case DRM_FORMAT_XRGB2101010:
:::::: The code at line 1587 was first introduced by commit
:::::: 433deb6ccc2eb00e2450a5942f8ef899f531cb94 drm/amdgpu: add display controller implementation for si v7
:::::: TO: Ken Wang <Qingqing.Wang at amd.com>
:::::: CC: Alex Deucher <alexander.deucher at amd.com>
---
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/octet-stream
Size: 40600 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160521/5337a12d/attachment-0001.obj>
More information about the dri-devel
mailing list