tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2 head: a48b0cc1cdf3900e3e73801f9de64afbb70dc193 commit: fcf554b61ab082c5a46c7587b4565164ed93f620 [2714/2834] drm/amdkcl: drop kcl_drm_gem_object_put_unlocked config: x86_64-randconfig-e004-201944 (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: git checkout fcf554b61ab082c5a46c7587b4565164ed93f620 # 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 >>): from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:172: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:179: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:186: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:198: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:205: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:214:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:16, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:297:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_fb_helper_set_suspend_unlocked': include/kcl/kcl_drm.h:218:53: error: 'state' undeclared (first use in this function); did you mean 'statx'? _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state); ^~~~~ statx include/kcl/kcl_drm.h:218:53: note: each undeclared identifier is reported only once for each function it appears in include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:233:1: error: static declaration of 'drm_atomic_helper_update_legacy_modeset_state' follows non-static declaration drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:11:0, from include/kcl/kcl_drm_backport.h:16, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_atomic_helper.h:74:1: note: previous declaration of 'drm_atomic_helper_update_legacy_modeset_state' was here drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:290:1: error: static declaration of 'drm_gem_object_put_unlocked' follows non-static declaration drm_gem_object_put_unlocked(struct drm_gem_object *obj) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:8:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:367:6: note: previous declaration of 'drm_gem_object_put_unlocked' was here void drm_gem_object_put_unlocked(struct drm_gem_object *obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_gem_object_put_unlocked': include/kcl/kcl_drm.h:292:9: error: implicit declaration of function 'drm_gem_object_unreference_unlocked'; did you mean 'drm_gem_object_put_unlocked'? [-Werror=implicit-function-declaration] return drm_gem_object_unreference_unlocked(obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drm_gem_object_put_unlocked include/kcl/kcl_drm.h:292:9: warning: 'return' with a value, in function returning void return drm_gem_object_unreference_unlocked(obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:290:1: note: declared here drm_gem_object_put_unlocked(struct drm_gem_object *obj) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:404:34: error: redefinition of 'drm_debug_printer' static inline struct drm_printer drm_debug_printer(const char *prefix) ^~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49:0, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm_vma_manager.h:8, from drivers/gpu/drm/ttm/backport/backport.h:5, from <command-line>:0: include/drm/drm_print.h:219:34: note: previous definition of 'drm_debug_printer' was here static inline struct drm_printer drm_debug_printer(const char *prefix) ^~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:484:20: error: static declaration of 'drm_dev_put' follows non-static declaration static inline void drm_dev_put(struct drm_device *dev) ^~~~~~~~~~~ In file included from include/drm/drmP.h:74:0, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_drv.h:739:6: note: previous declaration of 'drm_dev_put' was here void drm_dev_put(struct drm_device *dev); ^~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_dev_put': include/kcl/kcl_drm.h:486:9: error: implicit declaration of function 'drm_dev_unref'; did you mean 'drm_dev_enter'? [-Werror=implicit-function-declaration] return drm_dev_unref(dev); ^~~~~~~~~~~~~ drm_dev_enter include/kcl/kcl_drm.h:486:9: warning: 'return' with a value, in function returning void return drm_dev_unref(dev); ^~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:484:20: note: declared here static inline void drm_dev_put(struct drm_device *dev) ^~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:491:19: error: static declaration of 'drm_crtc_accurate_vblank_count' follows non-static declaration static inline u64 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:82:0, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_vblank.h:218:5: note: previous declaration of 'drm_crtc_accurate_vblank_count' was here u64 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:528:20: error: static declaration of 'drm_mode_is_420_only' follows non-static declaration static inline bool drm_mode_is_420_only(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:40:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_modes.h:473:6: note: previous declaration of 'drm_mode_is_420_only' was here bool drm_mode_is_420_only(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:535:20: error: static declaration of 'drm_mode_is_420_also' follows non-static declaration static inline bool drm_mode_is_420_also(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:40:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_modes.h:475:6: note: previous declaration of 'drm_mode_is_420_also' was here bool drm_mode_is_420_also(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ -- from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:172: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:179: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:186: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:198: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:205: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:16, 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:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:214:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:16, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:297:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_fb_helper_set_suspend_unlocked': include/kcl/kcl_drm.h:218:53: error: 'state' undeclared (first use in this function); did you mean 'statx'? _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state); ^~~~~ statx include/kcl/kcl_drm.h:218:53: note: each undeclared identifier is reported only once for each function it appears in include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:233:1: error: static declaration of 'drm_atomic_helper_update_legacy_modeset_state' follows non-static declaration drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:11:0, from include/kcl/kcl_drm_backport.h:16, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_atomic_helper.h:74:1: note: previous declaration of 'drm_atomic_helper_update_legacy_modeset_state' was here drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:290:1: error: static declaration of 'drm_gem_object_put_unlocked' follows non-static declaration drm_gem_object_put_unlocked(struct drm_gem_object *obj) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:8:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:367:6: note: previous declaration of 'drm_gem_object_put_unlocked' was here void drm_gem_object_put_unlocked(struct drm_gem_object *obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_gem_object_put_unlocked': include/kcl/kcl_drm.h:292:9: error: implicit declaration of function 'drm_gem_object_unreference_unlocked'; did you mean 'drm_gem_object_put_unlocked'? [-Werror=implicit-function-declaration] return drm_gem_object_unreference_unlocked(obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drm_gem_object_put_unlocked include/kcl/kcl_drm.h:292:9: warning: 'return' with a value, in function returning void return drm_gem_object_unreference_unlocked(obj); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:290:1: note: declared here drm_gem_object_put_unlocked(struct drm_gem_object *obj) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:404:34: error: redefinition of 'drm_debug_printer' static inline struct drm_printer drm_debug_printer(const char *prefix) ^~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49:0, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm_vma_manager.h:8, from drivers/gpu/drm/ttm/backport/backport.h:5, from <command-line>:0: include/drm/drm_print.h:219:34: note: previous definition of 'drm_debug_printer' was here static inline struct drm_printer drm_debug_printer(const char *prefix) ^~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:484:20: error: static declaration of 'drm_dev_put' follows non-static declaration static inline void drm_dev_put(struct drm_device *dev) ^~~~~~~~~~~ In file included from include/drm/drmP.h:74:0, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_drv.h:739:6: note: previous declaration of 'drm_dev_put' was here void drm_dev_put(struct drm_device *dev); ^~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_dev_put': include/kcl/kcl_drm.h:486:9: error: implicit declaration of function 'drm_dev_unref'; did you mean 'drm_dev_enter'? [-Werror=implicit-function-declaration] return drm_dev_unref(dev); ^~~~~~~~~~~~~ drm_dev_enter include/kcl/kcl_drm.h:486:9: warning: 'return' with a value, in function returning void return drm_dev_unref(dev); ^~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:484:20: note: declared here static inline void drm_dev_put(struct drm_device *dev) ^~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:491:19: error: static declaration of 'drm_crtc_accurate_vblank_count' follows non-static declaration static inline u64 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:82:0, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_vblank.h:218:5: note: previous declaration of 'drm_crtc_accurate_vblank_count' was here u64 drm_crtc_accurate_vblank_count(struct drm_crtc *crtc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:528:20: error: static declaration of 'drm_mode_is_420_only' follows non-static declaration static inline bool drm_mode_is_420_only(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:40:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_modes.h:473:6: note: previous declaration of 'drm_mode_is_420_only' was here bool drm_mode_is_420_only(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:16:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:535:20: error: static declaration of 'drm_mode_is_420_also' follows non-static declaration static inline bool drm_mode_is_420_also(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:40:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm_backport.h:4, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_modes.h:475:6: note: previous declaration of 'drm_mode_is_420_also' was here bool drm_mode_is_420_also(const struct drm_display_info *display, ^~~~~~~~~~~~~~~~~~~~ .. vim +/drm_gem_object_put_unlocked +290 include/kcl/kcl_drm.h 287 288 #if !defined(HAVE_DRM_GEM_OBJECT_PUT_UNLOCKED) 289 static inline void > 290 drm_gem_object_put_unlocked(struct drm_gem_object *obj) 291 { 292 return drm_gem_object_unreference_unlocked(obj); 293 } 294 #endif 295 --- 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