tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2 head: a48b0cc1cdf3900e3e73801f9de64afbb70dc193 commit: faafc170760aa44876ca6d04bc0b461945c9c98d [2699/2834] drm/amdkcl: drop kcl_drm_fb_helper_{alloc,unregister}_fbi config: x86_64-randconfig-e004-201944 (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: git checkout faafc170760aa44876ca6d04bc0b461945c9c98d # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:159:1: error: redefinition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:612:1: note: previous definition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' was here drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:180:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:289:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:187:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:291:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:194:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:293:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:206:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:265:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:213:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:266:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_encoder_init': include/kcl/kcl_drm.h:305:9: error: too few arguments to function 'drm_encoder_init' return drm_encoder_init(dev, encoder, funcs, ^~~~~~~~~~~~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_atomic_helper.h:32, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_encoder.h:183:5: note: declared here int drm_encoder_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_crtc_init_with_planes': include/kcl/kcl_drm.h:320:10: error: too few arguments to function 'drm_crtc_init_with_planes' return drm_crtc_init_with_planes(dev, crtc, primary, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:68:0, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_crtc.h:1120:5: note: declared here int drm_crtc_init_with_planes(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_universal_plane_init': include/kcl/kcl_drm.h:341:29: error: incompatible type for argument 7 of 'drm_universal_plane_init' formats, format_count, type); ^~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: expected 'const uint64_t * {aka const long long unsigned int *}' but argument is of type 'enum drm_plane_type' int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:340:10: error: too few arguments to function 'drm_universal_plane_init' return drm_universal_plane_init(dev, plane, possible_crtcs, funcs, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: declared here int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_gem_object_lookup': include/kcl/kcl_drm.h:352:32: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types] return drm_gem_object_lookup(dev, filp, handle); ^~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'struct drm_file *' but argument is of type 'struct drm_device *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:352:37: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion] return drm_gem_object_lookup(dev, filp, handle); ^~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'u32 {aka unsigned int}' but argument is of type 'struct drm_file *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, -- In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:159:1: error: redefinition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:612:1: note: previous definition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' was here drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:180:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:289:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:187:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:291:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:194:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:293:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:206:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:265:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:213:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:266:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_encoder_init': include/kcl/kcl_drm.h:305:9: error: too few arguments to function 'drm_encoder_init' return drm_encoder_init(dev, encoder, funcs, ^~~~~~~~~~~~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_atomic_helper.h:32, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_encoder.h:183:5: note: declared here int drm_encoder_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_crtc_init_with_planes': include/kcl/kcl_drm.h:320:10: error: too few arguments to function 'drm_crtc_init_with_planes' return drm_crtc_init_with_planes(dev, crtc, primary, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:68:0, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_crtc.h:1120:5: note: declared here int drm_crtc_init_with_planes(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_universal_plane_init': include/kcl/kcl_drm.h:341:29: error: incompatible type for argument 7 of 'drm_universal_plane_init' formats, format_count, type); ^~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: expected 'const uint64_t * {aka const long long unsigned int *}' but argument is of type 'enum drm_plane_type' int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:340:10: error: too few arguments to function 'drm_universal_plane_init' return drm_universal_plane_init(dev, plane, possible_crtcs, funcs, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: declared here int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_gem_object_lookup': include/kcl/kcl_drm.h:352:32: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types] return drm_gem_object_lookup(dev, filp, handle); ^~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'struct drm_file *' but argument is of type 'struct drm_device *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:352:37: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion] return drm_gem_object_lookup(dev, filp, handle); ^~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'u32 {aka unsigned int}' but argument is of type 'struct drm_file *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, .. vim +/drm_fb_helper_alloc_fbi +206 include/kcl/kcl_drm.h 204 205 static inline > 206 struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) 207 208 { 209 return _kcl_drm_fb_helper_alloc_fbi(fb_helper); 210 } 211 212 static inline > 213 void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) 214 { 215 _kcl_drm_fb_helper_unregister_fbi(fb_helper); 216 } 217 #endif 218 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel