[radeon-alex:amd-mainline-dkms-5.2 2701/2834] include/kcl/kcl_drm.h:236:1: error: static declaration of 'drm_atomic_helper_update_legacy_modeset_state' follows non-static declaration
kbuild test robot
lkp at intel.com
Thu Nov 14 00:20:16 UTC 2019
Hi Flora,
FYI, the error/warning still remains.
tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2
head: a48b0cc1cdf3900e3e73801f9de64afbb70dc193
commit: cc8e420623914e7a903534abddf086dad609a455 [2701/2834] drm/amdkcl: drop kcl_drm_atomic_helper_update_legacy_modeset_state
config: x86_64-randconfig-e004-201944 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
git checkout cc8e420623914e7a903534abddf086dad609a455
# 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 at intel.com>
All errors (new ones prefixed by >>):
from drivers/gpu/drm/ttm/backport/backport.h:6,
from <command-line>:0:
include/kcl/kcl_drm.h:154: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:175: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:182: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:189: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:201: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:208: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:217: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:5,
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:5: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:221: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:221: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:236: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:5,
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: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:303: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:318: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:339: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:338: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:350: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:350: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,
--
from drivers/gpu/drm/ttm/backport/backport.h:6,
from <command-line>:0:
include/kcl/kcl_drm.h:154: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:175: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:182: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:189: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:201: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:208: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:217: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:5,
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:5: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:221: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:221: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:236: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:5,
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: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:303: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:318: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:339: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:338: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:350: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:350: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_atomic_helper_update_legacy_modeset_state +236 include/kcl/kcl_drm.h
213
214 #ifndef HAVE_DRM_FB_HELPER_SET_SUSPEND_UNLOCKED
215 extern void _kcl_drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, int state);
216 static inline
217 void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper,
218 bool suspend)
219
220 {
> 221 _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state);
222 }
223 #endif
224
225 #ifndef HAVE_DRM_FB_HELPER_FILL_INFO
226 void drm_fb_helper_fill_info(struct fb_info *info,
227 struct drm_fb_helper *fb_helper,
228 struct drm_fb_helper_surface_size *sizes);
229 #endif
230
231 #ifndef HAVE_DRM_ATOMIC_HELPER_UPDATE_LEGACY_MODESET_STATE
232 extern void _kcl_drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
233 struct drm_atomic_state *old_state);
234
235 static inline void
> 236 drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev,
237 struct drm_atomic_state *old_state)
238 {
239 _kcl_drm_atomic_helper_update_legacy_modeset_state(dev, old_state);
240 }
241 #endif
242
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 35171 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20191114/9e5d4b97/attachment-0001.gz>
More information about the dri-devel
mailing list