* [radeon-alex:amd-mainline-dkms-5.4 1206/2653] include/drm/amd_rdma.h:34:2: error: unknown type name 'uint64_t'
@ 2020-03-12 20:03 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-12 20:03 UTC (permalink / raw)
To: Gang Ba; +Cc: Flora Cui, kbuild-all, dri-devel
[-- Attachment #1: Type: text/plain, Size: 3736 bytes --]
tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.4
head: fa14e19bd78eecca201da26d22c7b95ee06769c6
commit: a386a08bdacc09d446ac36fd15cfe63ccc0775cc [1206/2653] drm/amdkfd: Copy in KFD-related files
config: c6x-allyesconfig (attached as .config)
compiler: c6x-elf-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a386a08bdacc09d446ac36fd15cfe63ccc0775cc
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=c6x
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
In file included from <command-line>:
>> include/drm/amd_rdma.h:34:2: error: unknown type name 'uint64_t'
34 | uint64_t va; /**< Specify user virt. address
| ^~~~~~~~
include/drm/amd_rdma.h:38:2: error: unknown type name 'uint64_t'
38 | uint64_t size; /**< Specify total size of
| ^~~~~~~~
include/drm/amd_rdma.h:55:19: error: unknown type name 'uint64_t'
55 | int (*get_pages)(uint64_t address, uint64_t length, struct pid *pid,
| ^~~~~~~~
include/drm/amd_rdma.h:55:37: error: unknown type name 'uint64_t'
55 | int (*get_pages)(uint64_t address, uint64_t length, struct pid *pid,
| ^~~~~~~~
include/drm/amd_rdma.h:60:24: error: unknown type name 'uint64_t'
60 | int (*is_gpu_address)(uint64_t address, struct pid *pid);
| ^~~~~~~~
include/drm/amd_rdma.h:61:23: error: unknown type name 'uint64_t'
61 | int (*get_page_size)(uint64_t address, uint64_t length, struct pid *pid,
| ^~~~~~~~
include/drm/amd_rdma.h:61:41: error: unknown type name 'uint64_t'
61 | int (*get_page_size)(uint64_t address, uint64_t length, struct pid *pid,
| ^~~~~~~~
>> include/drm/amd_rdma.h:63:1: warning: no semicolon at end of struct or union
63 | };
| ^
vim +/uint64_t +34 include/drm/amd_rdma.h
27
28
29 /**
30 * Structure describing information needed to P2P access from another device
31 * to specific location of GPU memory
32 */
33 struct amd_p2p_info {
> 34 uint64_t va; /**< Specify user virt. address
35 * which this page table
36 * described
37 */
38 uint64_t size; /**< Specify total size of
39 * allocation
40 */
41 struct pid *pid; /**< Specify process pid to which
42 * virtual address belongs
43 */
44 struct sg_table *pages; /**< Specify DMA/Bus addresses */
45 void *priv; /**< Pointer set by AMD kernel
46 * driver
47 */
48 };
49
50 /**
51 * Structure providing function pointers to support rdma/p2p requirements.
52 * to specific location of GPU memory
53 */
54 struct amd_rdma_interface {
55 int (*get_pages)(uint64_t address, uint64_t length, struct pid *pid,
56 struct amd_p2p_info **amd_p2p_data,
57 void (*free_callback)(void *client_priv),
58 void *client_priv);
59 int (*put_pages)(struct amd_p2p_info **amd_p2p_data);
60 int (*is_gpu_address)(uint64_t address, struct pid *pid);
61 int (*get_page_size)(uint64_t address, uint64_t length, struct pid *pid,
62 unsigned long *page_size);
> 63 };
64
65
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50150 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-12 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 20:03 [radeon-alex:amd-mainline-dkms-5.4 1206/2653] include/drm/amd_rdma.h:34:2: error: unknown type name 'uint64_t' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).