mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Robert Foss <robert.foss@collabora.com>
Cc: kbuild-all@01.org, dri-devel@lists.freedesktop.org,
	"Tomeu Vizoso" <tomeu.vizoso@collabora.com>,
	"Emil Velikov" <emil.l.velikov@gmail.com>,
	"Daniel Vetter" <daniel.vetter@ffwll.ch>,
	"Kristian Høgsberg" <hoegsberg@gmail.com>,
	"Robert Foss" <robert.foss@collabora.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] drm: Add DRM_ROTATE_ and DRM_REFLECT_ defines to UAPI
Date: Wed, 17 May 2017 03:19:08 +0800	[thread overview]
Message-ID: <201705170331.kp4Gez75%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170516155500.25616-1-robert.foss@collabora.com>

[-- Attachment #1: Type: text/plain, Size: 11758 bytes --]

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@pengutronix.de>
:::::: CC: Philipp Zabel <p.zabel@pengutronix.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62372 bytes --]

      parent reply	other threads:[~2017-05-16 19:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 15:55 Robert Foss
2017-05-16 16:20 ` Ville Syrjälä
2017-05-17 14:30   ` Robert Foss
2017-05-16 18:41 ` kbuild test robot
2017-05-16 19:19 ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201705170331.kp4Gez75%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.l.velikov@gmail.com \
    --cc=hoegsberg@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.foss@collabora.com \
    --cc=tomeu.vizoso@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®