[PATCH v2] drm: Add DRM_ROTATE_ and DRM_REFLECT_ defines to UAPI
kbuild test robot
lkp at intel.com
Tue May 16 19:19:08 UTC 2017
Hi Robert,
[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.12-rc1 next-20170516]
[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/Robert-Foss/drm-Add-DRM_ROTATE_-and-DRM_REFLECT_-defines-to-UAPI/20170517-003242
base: git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/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
All error/warnings (new ones prefixed by >>):
drivers/gpu//drm/imx/ipuv3-plane.c: In function 'ipu_plane_state_reset':
>> drivers/gpu//drm/imx/ipuv3-plane.c:276:30: error: 'DRM_ROTATE_0' undeclared (first use in this function)
ipu_state->base.rotation = DRM_ROTATE_0;
^~~~~~~~~~~~
drivers/gpu//drm/imx/ipuv3-plane.c:276:30: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/gpu//drm/omapdrm/omap_drv.c: In function 'dev_lastclose':
>> drivers/gpu//drm/omapdrm/omap_drv.c:580:12: error: 'DRM_ROTATE_0' undeclared (first use in this function)
DRM_ROTATE_0);
^~~~~~~~~~~~
drivers/gpu//drm/omapdrm/omap_drv.c:580:12: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/gpu//drm/omapdrm/omap_plane.c: In function 'omap_plane_atomic_disable':
>> drivers/gpu//drm/omapdrm/omap_plane.c:144:27: error: 'DRM_ROTATE_0' undeclared (first use in this function)
plane->state->rotation = DRM_ROTATE_0;
^~~~~~~~~~~~
drivers/gpu//drm/omapdrm/omap_plane.c:144:27: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu//drm/omapdrm/omap_plane.c: In function 'omap_plane_atomic_check':
drivers/gpu//drm/omapdrm/omap_plane.c:180:25: error: 'DRM_ROTATE_0' undeclared (first use in this function)
if (state->rotation != DRM_ROTATE_0 &&
^~~~~~~~~~~~
drivers/gpu//drm/omapdrm/omap_plane.c: In function 'omap_plane_install_properties':
drivers/gpu//drm/omapdrm/omap_plane.c:216:11: error: 'DRM_ROTATE_0' undeclared (first use in this function)
DRM_ROTATE_0,
^~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_plane.c:217:26: error: 'DRM_ROTATE_90' undeclared (first use in this function)
DRM_ROTATE_0 | DRM_ROTATE_90 |
^~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_plane.c:218:11: error: 'DRM_ROTATE_180' undeclared (first use in this function)
DRM_ROTATE_180 | DRM_ROTATE_270 |
^~~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_plane.c:218:28: error: 'DRM_ROTATE_270' undeclared (first use in this function)
DRM_ROTATE_180 | DRM_ROTATE_270 |
^~~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_plane.c:219:11: error: 'DRM_REFLECT_X' undeclared (first use in this function)
DRM_REFLECT_X | DRM_REFLECT_Y);
^~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_plane.c:219:27: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
DRM_REFLECT_X | DRM_REFLECT_Y);
^~~~~~~~~~~~~
drivers/gpu//drm/omapdrm/omap_plane.c: In function 'omap_plane_reset':
drivers/gpu//drm/omapdrm/omap_plane.c:276:30: error: 'DRM_ROTATE_0' undeclared (first use in this function)
omap_state->base.rotation = DRM_ROTATE_0;
^~~~~~~~~~~~
--
drivers/gpu//drm/omapdrm/omap_fb.c: In function 'omap_framebuffer_update_scanout':
>> drivers/gpu//drm/omapdrm/omap_fb.c:170:27: error: 'DRM_ROTATE_MASK' undeclared (first use in this function)
switch (win->rotation & DRM_ROTATE_MASK) {
^~~~~~~~~~~~~~~
drivers/gpu//drm/omapdrm/omap_fb.c:170:27: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu//drm/omapdrm/omap_fb.c:176:8: error: 'DRM_ROTATE_0' undeclared (first use in this function)
case DRM_ROTATE_0:
^~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_fb.c:179:8: error: 'DRM_ROTATE_90' undeclared (first use in this function)
case DRM_ROTATE_90:
^~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_fb.c:182:8: error: 'DRM_ROTATE_180' undeclared (first use in this function)
case DRM_ROTATE_180:
^~~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_fb.c:185:8: error: 'DRM_ROTATE_270' undeclared (first use in this function)
case DRM_ROTATE_270:
^~~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_fb.c:190:23: error: 'DRM_REFLECT_X' undeclared (first use in this function)
if (win->rotation & DRM_REFLECT_X)
^~~~~~~~~~~~~
>> drivers/gpu//drm/omapdrm/omap_fb.c:193:23: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
if (win->rotation & DRM_REFLECT_Y)
^~~~~~~~~~~~~
--
drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_plane_reset':
>> drivers/gpu/drm/arm/malidp_planes.c:83:26: error: 'DRM_ROTATE_0' undeclared (first use in this function)
state->base.rotation = DRM_ROTATE_0;
^~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_planes.c:83:26: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_de_plane_check':
drivers/gpu/drm/arm/malidp_planes.c:224:25: error: 'DRM_ROTATE_0' undeclared (first use in this function)
if (state->rotation != DRM_ROTATE_0 &&
^~~~~~~~~~~~
In file included from drivers/gpu/drm/arm/malidp_planes.c:22:0:
>> drivers/gpu/drm/arm/malidp_drv.h:68:30: error: 'DRM_ROTATE_90' undeclared (first use in this function)
#define MALIDP_ROTATED_MASK (DRM_ROTATE_90 | DRM_ROTATE_270)
^
>> drivers/gpu/drm/arm/malidp_planes.c:230:24: note: in expansion of macro 'MALIDP_ROTATED_MASK'
if (state->rotation & MALIDP_ROTATED_MASK) {
^~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_drv.h:68:46: error: 'DRM_ROTATE_270' undeclared (first use in this function)
#define MALIDP_ROTATED_MASK (DRM_ROTATE_90 | DRM_ROTATE_270)
^
>> drivers/gpu/drm/arm/malidp_planes.c:230:24: note: in expansion of macro 'MALIDP_ROTATED_MASK'
if (state->rotation & MALIDP_ROTATED_MASK) {
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_de_plane_update':
>> drivers/gpu/drm/arm/malidp_planes.c:318:31: error: 'DRM_ROTATE_MASK' undeclared (first use in this function)
if (plane->state->rotation & DRM_ROTATE_MASK)
^~~~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_planes.c:321:31: error: 'DRM_REFLECT_X' undeclared (first use in this function)
if (plane->state->rotation & DRM_REFLECT_X)
^~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_planes.c:323:31: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
if (plane->state->rotation & DRM_REFLECT_Y)
^~~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_planes.c: In function 'malidp_de_planes_init':
drivers/gpu/drm/arm/malidp_planes.c:373:24: error: 'DRM_ROTATE_0' undeclared (first use in this function)
unsigned long flags = DRM_ROTATE_0 | DRM_ROTATE_90 | DRM_ROTATE_180 |
^~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_planes.c:373:39: error: 'DRM_ROTATE_90' undeclared (first use in this function)
unsigned long flags = DRM_ROTATE_0 | DRM_ROTATE_90 | DRM_ROTATE_180 |
^~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_planes.c:373:55: error: 'DRM_ROTATE_180' undeclared (first use in this function)
unsigned long flags = DRM_ROTATE_0 | DRM_ROTATE_90 | DRM_ROTATE_180 |
^~~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_planes.c:374:10: error: 'DRM_ROTATE_270' undeclared (first use in this function)
DRM_ROTATE_270 | DRM_REFLECT_X | DRM_REFLECT_Y;
^~~~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_planes.c:374:27: error: 'DRM_REFLECT_X' undeclared (first use in this function)
DRM_ROTATE_270 | DRM_REFLECT_X | DRM_REFLECT_Y;
^~~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_planes.c:374:43: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
DRM_ROTATE_270 | DRM_REFLECT_X | DRM_REFLECT_Y;
^~~~~~~~~~~~~
--
In file included from drivers/gpu/drm/arm/malidp_crtc.c:22:0:
drivers/gpu/drm/arm/malidp_crtc.c: In function 'malidp_crtc_atomic_check':
>> drivers/gpu/drm/arm/malidp_drv.h:68:30: error: 'DRM_ROTATE_90' undeclared (first use in this function)
#define MALIDP_ROTATED_MASK (DRM_ROTATE_90 | DRM_ROTATE_270)
^
>> drivers/gpu/drm/arm/malidp_crtc.c:364:26: note: in expansion of macro 'MALIDP_ROTATED_MASK'
if (pstate->rotation & MALIDP_ROTATED_MASK)
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/arm/malidp_drv.h:68:30: note: each undeclared identifier is reported only once for each function it appears in
#define MALIDP_ROTATED_MASK (DRM_ROTATE_90 | DRM_ROTATE_270)
^
>> drivers/gpu/drm/arm/malidp_crtc.c:364:26: note: in expansion of macro 'MALIDP_ROTATED_MASK'
if (pstate->rotation & MALIDP_ROTATED_MASK)
^~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/arm/malidp_drv.h:68:46: error: 'DRM_ROTATE_270' undeclared (first use in this function)
#define MALIDP_ROTATED_MASK (DRM_ROTATE_90 | DRM_ROTATE_270)
^
>> drivers/gpu/drm/arm/malidp_crtc.c:364:26: note: in expansion of macro 'MALIDP_ROTATED_MASK'
if (pstate->rotation & MALIDP_ROTATED_MASK)
^~~~~~~~~~~~~~~~~~~
--
drivers/gpu/drm/armada/armada_overlay.c: In function 'armada_ovl_plane_update':
>> drivers/gpu/drm/armada/armada_overlay.c:128:10: error: 'DRM_ROTATE_0' undeclared (first use in this function)
DRM_ROTATE_0,
^~~~~~~~~~~~
drivers/gpu/drm/armada/armada_overlay.c:128:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/DRM_ROTATE_0 +276 drivers/gpu//drm/imx/ipuv3-plane.c
00514e85 Lucas Stach 2017-03-08 270 }
00514e85 Lucas Stach 2017-03-08 271
00514e85 Lucas Stach 2017-03-08 272 ipu_state = kzalloc(sizeof(*ipu_state), GFP_KERNEL);
00514e85 Lucas Stach 2017-03-08 273
00514e85 Lucas Stach 2017-03-08 274 if (ipu_state) {
00514e85 Lucas Stach 2017-03-08 275 ipu_state->base.plane = plane;
00514e85 Lucas Stach 2017-03-08 @276 ipu_state->base.rotation = DRM_ROTATE_0;
00514e85 Lucas Stach 2017-03-08 277 }
00514e85 Lucas Stach 2017-03-08 278
00514e85 Lucas Stach 2017-03-08 279 plane->state = &ipu_state->base;
:::::: The code at line 276 was first introduced by commit
:::::: 00514e8593350498790d19c7e21b720fee899cf7 drm/imx: use PRG/PRE when possible
:::::: TO: Lucas Stach <l.stach at pengutronix.de>
:::::: CC: Philipp Zabel <p.zabel at pengutronix.de>
---
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: 62372 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170517/f751c4a2/attachment-0001.gz>
More information about the dri-devel
mailing list