[PATCH v2] drm: Add DRM_ROTATE_ and DRM_REFLECT_ defines to UAPI

kbuild test robot lkp at intel.com
Tue May 16 18:41:40 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: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-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=arm64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function 'mdp5_plane_install_rotation_property':
>> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:70:9: error: 'DRM_ROTATE_0' undeclared (first use in this function)
            DRM_ROTATE_0,
            ^~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:70:9: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:72:9: error: 'DRM_ROTATE_180' undeclared (first use in this function)
            DRM_ROTATE_180 |
            ^~~~~~~~~~~~~~
>> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:73:9: error: 'DRM_REFLECT_X' undeclared (first use in this function)
            DRM_REFLECT_X |
            ^~~~~~~~~~~~~
>> drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:74:9: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
            DRM_REFLECT_Y);
            ^~~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function 'mdp5_plane_atomic_check_with_state':
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:372:8: error: 'DRM_ROTATE_0' undeclared (first use in this function)
           DRM_ROTATE_0 |
           ^~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:373:8: error: 'DRM_REFLECT_X' undeclared (first use in this function)
           DRM_REFLECT_X |
           ^~~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:374:8: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
           DRM_REFLECT_Y);
           ^~~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c: In function 'mdp5_plane_mode_set':
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:973:7: error: 'DRM_ROTATE_0' undeclared (first use in this function)
          DRM_ROTATE_0 |
          ^~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:974:7: error: 'DRM_REFLECT_X' undeclared (first use in this function)
          DRM_REFLECT_X |
          ^~~~~~~~~~~~~
   drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c:975:7: error: 'DRM_REFLECT_Y' undeclared (first use in this function)
          DRM_REFLECT_Y);
          ^~~~~~~~~~~~~

vim +/DRM_ROTATE_0 +70 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c

06c0dd96 Rob Clark     2013-11-30  64  }
06c0dd96 Rob Clark     2013-11-30  65  
8089082f jilai wang    2015-07-31  66  static void mdp5_plane_install_rotation_property(struct drm_device *dev,
8089082f jilai wang    2015-07-31  67  		struct drm_plane *plane)
8089082f jilai wang    2015-07-31  68  {
5b560c3a Ville Syrjälä 2016-10-21  69  	drm_plane_create_rotation_property(plane,
5b560c3a Ville Syrjälä 2016-10-21 @70  					   DRM_ROTATE_0,
5b560c3a Ville Syrjälä 2016-10-21  71  					   DRM_ROTATE_0 |
574a37b1 Ville Syrjälä 2016-10-21 @72  					   DRM_ROTATE_180 |
5b560c3a Ville Syrjälä 2016-10-21 @73  					   DRM_REFLECT_X |
5b560c3a Ville Syrjälä 2016-10-21 @74  					   DRM_REFLECT_Y);
8089082f jilai wang    2015-07-31  75  }
8089082f jilai wang    2015-07-31  76  
06c0dd96 Rob Clark     2013-11-30  77  /* helper to install properties which are common to planes and crtcs */

:::::: The code at line 70 was first introduced by commit
:::::: 5b560c3a99a0d1a65132ce6f2f5a8505536613e4 drm/msm/mdp5: Use per-plane rotation property

:::::: TO: Ville Syrjälä <ville.syrjala at linux.intel.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

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


More information about the dri-devel mailing list