Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 3.76 KB | None | 0 0
  1. drivers/gpu/drm/amd/amdkfd/kfd_device.c: In function ‘kgd2kfd_probe’:
  2. drivers/gpu/drm/amd/amdkfd/kfd_device.c:365:7: error: implicit declaration of function ‘pci_enable_atomic_ops_to_root’ [-Werror=implicit-function-declaration]
  3.    if (pci_enable_atomic_ops_to_root(pdev) < 0) {
  4.        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. In file included from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:6:0,
  6.                  from <command-line>:0:
  7. ./include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
  8. ./include/kcl/kcl_drm.h:332:9: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
  9.   return drm_calc_vbltimestamp_from_scanoutpos(dev, pipe, max_error, vblank_time,
  10.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  11. In file included from ./include/drm/drmP.h:83:0,
  12.                  from ./include/kcl/kcl_drm.h:6,
  13.                  from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:6,
  14.                  from <command-line>:0:
  15. ./include/drm/drm_vblank.h:174:6: note: declared here
  16.  bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
  17.       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. In file included from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:6:0,
  19.                  from <command-line>:0:
  20. ./include/kcl/kcl_drm.h: In function ‘kcl_drm_calc_vbltimestamp_from_scanoutpos’:
  21. ./include/kcl/kcl_drm.h:332:9: error: too many arguments to function ‘drm_calc_vbltimestamp_from_scanoutpos’
  22.   return drm_calc_vbltimestamp_from_scanoutpos(dev, pipe, max_error, vblank_time,
  23.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  24. In file included from ./include/drm/drmP.h:83:0,
  25.                  from ./include/kcl/kcl_drm.h:6,
  26.                  from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:6,
  27.                  from <command-line>:0:
  28. ./include/drm/drm_vblank.h:174:6: note: declared here
  29.  bool drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev,
  30.       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  31.   CC [M]  drivers/gpu/drm/amd/amdkfd/kfd_chardev.o
  32. In file included from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:14:0,
  33.                  from <command-line>:0:
  34. ./include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
  35. ./include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  36.   return reservation_object_copy_fences(dst, src);
  37.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. In file included from drivers/gpu/drm/amd/amdgpu/../include/../backport/backport.h:14:0,
  39.                  from <command-line>:0:
  40. ./include/kcl/kcl_reservation.h: In function ‘kcl_reservation_object_copy_fences’:
  41. ./include/kcl/kcl_reservation.h:95:9: error: implicit declaration of function ‘reservation_object_copy_fences’ [-Werror=implicit-function-declaration]
  42.   return reservation_object_copy_fences(dst, src);
  43.          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c: At top level:
  45. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:814:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  46.   .get_vblank_timestamp = kcl_amdgpu_get_vblank_timestamp_kms,
  47.                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  48. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:814:26: note: (near initialization for ‘kms_driver.get_vblank_timestamp’)
  49. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:815:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  50.   .get_scanout_position = kcl_amdgpu_get_crtc_scanoutpos,
  51.                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:815:26: note: (near initialization for ‘kms_driver.get_scanout_position’)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement